Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 80.34 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002839/0.002839, allocations: 165.7 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.787e-05, allocations: 6.312 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004572/0.0046, allocations: 2.705 MB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.00642, allocations: 0.7245 MB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.006659, allocations: 7.938 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.006852, allocations: 39.58 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.007176, allocations: 115.1 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.007545, allocations: 111.8 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.008119, allocations: 402.3 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.008338, allocations: 91.64 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.008815, allocations: 231.4 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.009047, allocations: 119.7 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.009116, allocations: 36 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.009184, allocations: 43.94 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.088e-05/0.009264, allocations: 79.73 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.009433, allocations: 115.7 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.009986, allocations: 438.6 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.00999, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009991, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.009999, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001397/0.0114, allocations: 0.5897 MB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.01143, allocations: 8.031 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01156, allocations: 52.75 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.01202, allocations: 242.1 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.01204, allocations: 16.88 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.0121, allocations: 24.38 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.01288, allocations: 341 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.0129, allocations: 192 / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.01293, allocations: 8.375 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01294, allocations: 11.88 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.01379, allocations: 273.8 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.0157, allocations: 0.9687 MB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.01663, allocations: 242.5 kB / 280.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.01698, allocations: 104.7 kB / 280.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.017, allocations: 4 kB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004871/0.01749, allocations: 190.7 kB / 280.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01749, allocations: 0 / 280.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001133/0.01863, allocations: 321.5 kB / 280.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.0187, allocations: 81.09 kB / 281 MB, free: 8.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.01902, allocations: 261.8 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.01905, allocations: 29.7 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.01922, allocations: 196 kB / 281.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.01927, allocations: 51.61 kB / 281.5 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.01937, allocations: 49.66 kB / 281.6 MB, free: 8.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.01956, allocations: 330.8 kB / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.01996, allocations: 125.9 kB / 282 MB, free: 7.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.02057, allocations: 254.9 kB / 282.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.02136, allocations: 303.7 kB / 282.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02136, allocations: 0 / 282.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009914/0.02235, allocations: 400.8 kB / 283 MB, free: 6.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.0224, allocations: 33.7 kB / 283 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.02241, allocations: 7.984 kB / 283 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.02243, allocations: 4 kB / 283 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.02275, allocations: 71.89 kB / 283.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.02277, allocations: 7.938 kB / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.02308, allocations: 55.86 kB / 283.2 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.02311, allocations: 8 kB / 283.2 MB, free: 6.582 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.02327, allocations: 148.7 kB / 283.3 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.02332, allocations: 31.73 kB / 283.3 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.02338, allocations: 25.77 kB / 283.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.02339, allocations: 0 / 283.4 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.02339, allocations: 4 kB / 283.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02339, allocations: 0 / 283.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.02367, allocations: 213.1 kB / 283.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02368, allocations: 4 kB / 283.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.02394, allocations: 43.95 kB / 283.6 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02394, allocations: 0 / 283.6 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.02396, allocations: 8 kB / 283.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.02396, allocations: 0 / 283.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02396, allocations: 0 / 283.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.02513, allocations: 380.6 kB / 284 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.02518, allocations: 19.89 kB / 284 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.02522, allocations: 12.05 kB / 284 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.02546, allocations: 27.97 kB / 284.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.02554, allocations: 19.97 kB / 284.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.02555, allocations: 0 / 284.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.02576, allocations: 181.2 kB / 284.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02576, allocations: 0 / 284.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.02608, allocations: 67.84 kB / 284.3 MB, free: 5.363 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.02624, allocations: 103.2 kB / 284.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008761/0.02712, allocations: 313.3 kB / 284.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02712, allocations: 4.125 kB / 284.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.02747, allocations: 99.86 kB / 284.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.02781, allocations: 52.39 kB / 284.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.029, allocations: 0.4887 MB / 285.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.02915, allocations: 146.9 kB / 285.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.02928, allocations: 26.22 kB / 285.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.02937, allocations: 24.5 kB / 285.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02937, allocations: 0 / 285.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of Templates: time 0.008085/0.03745, allocations: 3.143 MB / 288.7 MB, free: 0.9648 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.369439785019495]