Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.935e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004584/0.004614, allocations: 2.723 MB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.006218, allocations: 0.6933 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.006419, allocations: 7.938 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.006665, allocations: 43.56 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.006958, allocations: 115.1 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.007368, allocations: 95.77 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.007938, allocations: 402.3 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.008177, allocations: 87.66 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.008595, allocations: 231.4 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.0088, allocations: 127.6 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.008862, allocations: 40 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.008924, allocations: 36 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.009006, allocations: 79.69 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.009169, allocations: 123.7 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007727/0.009941, allocations: 438.6 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.009945, allocations: 0 / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009946, allocations: 4 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.009951, allocations: 0 / 277.4 MB, free: 12.54 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001278/0.01123, allocations: 0.5779 MB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.01127, allocations: 11.98 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.01141, allocations: 56.73 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.01191, allocations: 241.3 kB / 278.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.01194, allocations: 16.88 kB / 278.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.01201, allocations: 28.38 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.01271, allocations: 323.9 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01273, allocations: 4.188 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.01276, allocations: 8.375 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.01278, allocations: 11.94 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.01347, allocations: 253.8 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.01529, allocations: 0.9131 MB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.01599, allocations: 206.6 kB / 280.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.01627, allocations: 96.72 kB / 280.2 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.0163, allocations: 8 kB / 280.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.01676, allocations: 218.1 kB / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.01676, allocations: 0 / 280.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009575/0.01771, allocations: 296.2 kB / 280.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.0178, allocations: 110.8 kB / 280.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.01814, allocations: 257.8 kB / 281 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.01818, allocations: 33.7 kB / 281.1 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.01835, allocations: 192 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.01841, allocations: 51.59 kB / 281.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01851, allocations: 49.92 kB / 281.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.01871, allocations: 334.8 kB / 281.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.01903, allocations: 121.9 kB / 281.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.01947, allocations: 256.7 kB / 282 MB, free: 7.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.02011, allocations: 278.8 kB / 282.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02011, allocations: 0 / 282.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000848/0.02096, allocations: 382.9 kB / 282.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.021, allocations: 33.7 kB / 282.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.02101, allocations: 4 kB / 282.7 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.02103, allocations: 4 kB / 282.7 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.02131, allocations: 60.2 kB / 282.8 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.02132, allocations: 8 kB / 282.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.02161, allocations: 51.75 kB / 282.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.02163, allocations: 11.98 kB / 282.9 MB, free: 6.734 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001698/0.0218, allocations: 149.7 kB / 283 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.02186, allocations: 23.86 kB / 283 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.02192, allocations: 29.77 kB / 283.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.02192, allocations: 0 / 283.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.02193, allocations: 4 kB / 283.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02193, allocations: 0 / 283.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.02222, allocations: 225.1 kB / 283.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.02222, allocations: 0 / 283.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.02244, allocations: 43.91 kB / 283.3 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.02245, allocations: 3.938 kB / 283.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.02246, allocations: 0 / 283.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.02246, allocations: 0 / 283.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.02246, allocations: 0 / 283.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.02342, allocations: 352.8 kB / 283.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.02347, allocations: 19.8 kB / 283.7 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.02351, allocations: 8 kB / 283.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.02373, allocations: 28.02 kB / 283.7 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.02382, allocations: 23.97 kB / 283.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.02384, allocations: 4 kB / 283.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002028/0.02404, allocations: 181.2 kB / 283.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02404, allocations: 0 / 283.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.02436, allocations: 67.84 kB / 284 MB, free: 5.539 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.000161/0.02452, allocations: 115 kB / 284.1 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.02553, allocations: 296.8 kB / 284.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02553, allocations: 0 / 284.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.02583, allocations: 90.69 kB / 284.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.02619, allocations: 61.02 kB / 284.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.02781, allocations: 0.5471 MB / 285.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.02797, allocations: 146.9 kB / 285.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.0281, allocations: 30.27 kB / 285.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.02818, allocations: 28.5 kB / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02818, allocations: 0 / 285.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of Templates: time 0.007909/0.03609, allocations: 3.352 MB / 288.7 MB, free: 0.8672 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.292510828003287]