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.001759/0.001759, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001918/0.001918, allocations: 161.6 kB / 24.27 MB, free: 152 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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.973e-06/1.973e-06, allocations: 0 / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.776e-05, allocations: 2.312 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004689/0.004716, allocations: 2.848 MB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.006348, allocations: 0.7362 MB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.006555, allocations: 7.938 kB / 275.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.006778, allocations: 47.56 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006219/0.0074, allocations: 103.1 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.007839, allocations: 115.8 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.008431, allocations: 406.3 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.008665, allocations: 87.66 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.009154, allocations: 231.4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.009399, allocations: 127.7 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.009471, allocations: 43.94 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.009541, allocations: 36 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.009631, allocations: 75.73 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.009801, allocations: 123.7 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.01039, allocations: 434.6 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.0104, allocations: 4 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0104, allocations: 4 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.01041, allocations: 0 / 277.7 MB, free: 12.37 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.001401/0.01181, allocations: 0.6815 MB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.01185, allocations: 12.03 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.01198, allocations: 48.75 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.01242, allocations: 249 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.01245, allocations: 20.88 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.0125, allocations: 24.38 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.0132, allocations: 338.6 kB / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01321, allocations: 192 / 279.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.01324, allocations: 12.31 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.01325, allocations: 11.94 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.01388, allocations: 229.9 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.01589, allocations: 1.134 MB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007536/0.01664, allocations: 207 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.01689, allocations: 83.64 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.01693, allocations: 8 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000435/0.01736, allocations: 190 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.01736, allocations: 0 / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008478/0.01821, allocations: 257.4 kB / 281.2 MB, free: 8.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.01828, allocations: 85.11 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.01869, allocations: 364.2 kB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.01872, allocations: 25.7 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.01894, allocations: 258.8 kB / 281.9 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.01899, allocations: 43.69 kB / 282 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.01911, allocations: 63.31 kB / 282 MB, free: 7.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002913/0.0194, allocations: 0.5157 MB / 282.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.01969, allocations: 109.9 kB / 282.7 MB, free: 7.168 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.02013, allocations: 271.8 kB / 282.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.02103, allocations: 313.7 kB / 283.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02103, allocations: 0 / 283.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007896/0.02182, allocations: 367.9 kB / 283.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.02187, allocations: 37.7 kB / 283.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02188, allocations: 4 kB / 283.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.0219, allocations: 4 kB / 283.6 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.02216, allocations: 63.83 kB / 283.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.02217, allocations: 7.938 kB / 283.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.02242, allocations: 44 kB / 283.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.02244, allocations: 8 kB / 283.8 MB, free: 5.926 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.0001962/0.02264, allocations: 200.4 kB / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.02269, allocations: 23.86 kB / 284 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.02275, allocations: 25.77 kB / 284 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.02275, allocations: 0 / 284 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.02275, allocations: 4 kB / 284 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02276, allocations: 0 / 284 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.0231, allocations: 268.4 kB / 284.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.0231, allocations: 0 / 284.3 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.0233, allocations: 39.97 kB / 284.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.0233, allocations: 0 / 284.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.02331, allocations: 0 / 284.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.02332, allocations: 7.984 kB / 284.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02332, allocations: 0 / 284.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.02417, allocations: 324 kB / 284.6 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.02422, allocations: 19.86 kB / 284.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.02426, allocations: 11.98 kB / 284.7 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.02444, allocations: 15.98 kB / 284.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.02451, allocations: 15.97 kB / 284.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.02452, allocations: 4 kB / 284.7 MB, free: 4.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.02477, allocations: 237.1 kB / 284.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02477, allocations: 0 / 284.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.02507, allocations: 67.84 kB / 285 MB, free: 4.621 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.0001423/0.02521, allocations: 111.2 kB / 285.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.0259, allocations: 292.6 kB / 285.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0259, allocations: 0.6875 kB / 285.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.02618, allocations: 99.58 kB / 285.5 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.02648, allocations: 44.41 kB / 285.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02755, allocations: 0.4903 MB / 286 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.0277, allocations: 142.9 kB / 286.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.02781, allocations: 26.3 kB / 286.2 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.02789, allocations: 24.5 kB / 286.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02789, allocations: 0 / 286.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of Templates: time 0.007561/0.03545, allocations: 3.148 MB / 289.4 MB, free: 232 kB / 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] 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.4513171130092815]