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.002511/0.002511, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.003141/0.003141, allocations: 160.8 kB / 24.27 MB, free: 156 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.637/1.637, allocations: 177 MB / 204.5 MB, free: 5.641 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.583e-06/1.583e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.55e-05/3.708e-05, allocations: 6.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005091/0.005128, allocations: 2.853 MB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.006838, allocations: 0.7088 MB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.007003, allocations: 11.94 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.007197, allocations: 43.58 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.007453, allocations: 115 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.007779, allocations: 95.77 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.00842, allocations: 398.3 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.008646, allocations: 87.66 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.009096, allocations: 235.4 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.009334, allocations: 127.6 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.009406, allocations: 40 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.009479, allocations: 40 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.009572, allocations: 79.69 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.009742, allocations: 119.7 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.01036, allocations: 450.6 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01036, allocations: 0 / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01036, allocations: 0 / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01037, allocations: 0 / 277.6 MB, free: 12.39 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.001419/0.01179, allocations: 0.6931 MB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.01184, allocations: 11.98 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.01198, allocations: 56.75 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.01245, allocations: 240.1 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.01249, allocations: 20.88 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.01255, allocations: 24.38 kB / 278.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/0.01323, allocations: 311.9 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.01324, allocations: 192 / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.01328, allocations: 12.38 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.0133, allocations: 15.94 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.01387, allocations: 217.9 kB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.01593, allocations: 1.053 MB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.01654, allocations: 199.1 kB / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.01675, allocations: 83.59 kB / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01677, allocations: 0 / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.01721, allocations: 223.5 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.01721, allocations: 0 / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007517/0.01797, allocations: 257.3 kB / 281 MB, free: 8.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.01807, allocations: 106.8 kB / 281.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.0185, allocations: 356.2 kB / 281.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.01854, allocations: 29.7 kB / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.01879, allocations: 262.7 kB / 281.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.01887, allocations: 47.64 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.019, allocations: 63.59 kB / 281.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003442/0.01934, allocations: 0.5196 MB / 282.4 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.01959, allocations: 101.9 kB / 282.5 MB, free: 7.246 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.02002, allocations: 297.4 kB / 282.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.02059, allocations: 305.9 kB / 283 MB, free: 6.531 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.0206, allocations: 0 / 283 MB, free: 6.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008605/0.02146, allocations: 347 kB / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.02151, allocations: 41.69 kB / 283.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02152, allocations: 0 / 283.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.02154, allocations: 8.312 kB / 283.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.02179, allocations: 55.91 kB / 283.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.0218, allocations: 4 kB / 283.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.02205, allocations: 39.77 kB / 283.5 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.02207, allocations: 12 kB / 283.5 MB, free: 6.012 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.0001982/0.02227, allocations: 200.4 kB / 283.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.02232, allocations: 31.84 kB / 283.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.02239, allocations: 29.72 kB / 283.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.02239, allocations: 7.984 kB / 283.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.02239, allocations: 0 / 283.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.0224, allocations: 0 / 283.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.02276, allocations: 272.4 kB / 284.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02276, allocations: 0 / 284.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.02294, allocations: 35.91 kB / 284.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.02294, allocations: 0 / 284.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.02296, allocations: 8 kB / 284.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.02297, allocations: 0 / 284.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.02297, allocations: 0 / 284.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.02369, allocations: 321.3 kB / 284.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.02374, allocations: 23.84 kB / 284.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.02379, allocations: 12 kB / 284.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.02396, allocations: 15.98 kB / 284.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.02405, allocations: 23.95 kB / 284.5 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.02406, allocations: 4 kB / 284.5 MB, free: 4.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.02433, allocations: 237.1 kB / 284.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02433, allocations: 4.031 kB / 284.7 MB, free: 4.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.02465, allocations: 71.84 kB / 284.8 MB, free: 4.668 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.0001621/0.02481, allocations: 107.2 kB / 284.9 MB, free: 4.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.02543, allocations: 285.4 kB / 285.2 MB, free: 4.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.02543, allocations: 4.625 kB / 285.2 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.02568, allocations: 98.53 kB / 285.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.02603, allocations: 56.33 kB / 285.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.02742, allocations: 0.5214 MB / 285.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.02758, allocations: 146.9 kB / 286 MB, free: 3.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.0277, allocations: 26.28 kB / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.02778, allocations: 24.5 kB / 286.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02778, allocations: 0 / 286.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of Templates: time 0.008506/0.03628, allocations: 3.375 MB / 289.4 MB, free: 0 / 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] 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.450343533069827]