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.001624/0.001624, allocations: 111.9 kB / 19.17 MB, free: 3.91 MB / 14.72 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.001334/0.001334, allocations: 208.9 kB / 22.13 MB, free: 0.9609 MB / 14.72 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.484/1.484, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 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 0.001861/0.001861, allocations: 67.89 kB / 374.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09595/0.09781, allocations: 53.33 MB / 427.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004333/0.1021, allocations: 2.879 MB / 430.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1035, allocations: 0.7673 MB / 431.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1037, allocations: 4 kB / 431.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1038, allocations: 39.58 kB / 431.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.104, allocations: 107.2 kB / 431.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1043, allocations: 111.8 kB / 431.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.1047, allocations: 390.5 kB / 432.2 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.105, allocations: 87.27 kB / 432.3 MB, free: 48 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1053, allocations: 159.4 kB / 432.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1055, allocations: 163.3 kB / 432.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.1055, allocations: 40 kB / 432.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.1056, allocations: 36 kB / 432.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.1057, allocations: 79.69 kB / 432.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1059, allocations: 163.2 kB / 432.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.1063, allocations: 434.3 kB / 433.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1063, allocations: 3.938 kB / 433.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1063, allocations: 0 / 433.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1064, allocations: 0 / 433.3 MB, free: 14.99 MB / 366.1 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.001313/0.1077, allocations: 0.6678 MB / 434 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1077, allocations: 8.031 kB / 434 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.1078, allocations: 36.75 kB / 434 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.1082, allocations: 300.7 kB / 434.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1082, allocations: 20.94 kB / 434.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.1083, allocations: 24.38 kB / 434.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007538/0.109, allocations: 316 kB / 434.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1091, allocations: 0 / 434.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.1091, allocations: 12 kB / 434.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1091, allocations: 4 kB / 434.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.1099, allocations: 278 kB / 435 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1118, allocations: 1.104 MB / 436.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.1127, allocations: 238.6 kB / 436.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.1131, allocations: 108.7 kB / 436.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1131, allocations: 7.938 kB / 436.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.1136, allocations: 161 kB / 436.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1136, allocations: 0 / 436.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001116/0.1147, allocations: 321.3 kB / 436.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.1148, allocations: 85.05 kB / 437 MB, free: 11.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.115, allocations: 258.6 kB / 437.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.1151, allocations: 29.7 kB / 437.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1152, allocations: 195.9 kB / 437.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.1153, allocations: 43.64 kB / 437.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.1154, allocations: 49.7 kB / 437.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1155, allocations: 338.8 kB / 437.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1159, allocations: 100.2 kB / 437.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.1163, allocations: 199.5 kB / 438.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.1171, allocations: 295.7 kB / 438.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.1171, allocations: 4 kB / 438.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009398/0.118, allocations: 369 kB / 438.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.1181, allocations: 33.7 kB / 438.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1181, allocations: 0 / 438.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1181, allocations: 4 kB / 438.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.1184, allocations: 71.88 kB / 438.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1184, allocations: 4 kB / 438.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.1187, allocations: 59.75 kB / 439 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1188, allocations: 12 kB / 439 MB, free: 8.941 MB / 366.1 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.0001648/0.1189, allocations: 145.8 kB / 439.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.119, allocations: 27.8 kB / 439.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.119, allocations: 25.7 kB / 439.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.119, allocations: 4 kB / 439.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.119, allocations: 0 / 439.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.119, allocations: 7.938 kB / 439.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.1194, allocations: 305.5 kB / 439.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1194, allocations: 0 / 439.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.1196, allocations: 51.88 kB / 439.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1196, allocations: 0 / 439.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1197, allocations: 7.938 kB / 439.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1197, allocations: 3.984 kB / 439.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1197, allocations: 0 / 439.5 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1208, allocations: 368.7 kB / 439.9 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.1209, allocations: 104.9 kB / 440 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1209, allocations: 4 kB / 440 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.1211, allocations: 31.95 kB / 440 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.1212, allocations: 15.98 kB / 440.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1212, allocations: 3.938 kB / 440.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1214, allocations: 194 kB / 440.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1214, allocations: 0 / 440.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1217, allocations: 71.84 kB / 440.3 MB, free: 7.496 MB / 366.1 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.0001362/0.1219, allocations: 107.1 kB / 440.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.1227, allocations: 283.7 kB / 440.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1227, allocations: 0 / 440.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1231, allocations: 104.5 kB / 440.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1234, allocations: 50.38 kB / 440.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1246, allocations: 0.5613 MB / 441.4 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1249, allocations: 0.7518 MB / 442.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.125, allocations: 19.44 kB / 442.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.125, allocations: 4 kB / 442.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Templates: time 0.005782/0.1308, allocations: 3.352 MB / 445.5 MB, free: 2.227 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.124474006937817]