Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 119.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001913, allocations: 192.3 kB / 21.35 MB, free: 1.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 358.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 49.45 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002889/0.1095, allocations: 1.563 MB / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.1104, allocations: 470.7 kB / 410.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.1105, allocations: 4 kB / 410.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.1105, allocations: 7.875 kB / 410.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1107, allocations: 11.92 kB / 410.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1109, allocations: 47.77 kB / 410.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.111, allocations: 35.92 kB / 410.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1111, allocations: 23.97 kB / 410.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.1112, allocations: 19.92 kB / 410.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.1113, allocations: 19.86 kB / 410.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1113, allocations: 7.938 kB / 410.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.1113, allocations: 4 kB / 410.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1114, allocations: 11.94 kB / 410.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.1114, allocations: 31.78 kB / 410.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1116, allocations: 47.77 kB / 410.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1116, allocations: 0 / 410.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1116, allocations: 4 kB / 410.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1116, allocations: 0 / 410.4 MB, free: 4.562 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004991/0.1121, allocations: 379 kB / 410.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1121, allocations: 12.03 kB / 410.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1122, allocations: 8.891 kB / 410.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1125, allocations: 192.2 kB / 411 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1125, allocations: 12.25 kB / 411 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1125, allocations: 8.375 kB / 411 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1128, allocations: 117.3 kB / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1128, allocations: 0 / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1128, allocations: 0 / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1128, allocations: 0 / 411.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.1129, allocations: 23.98 kB / 411.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1133, allocations: 277.6 kB / 411.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1135, allocations: 138.3 kB / 411.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.409e-05/0.1136, allocations: 37.7 kB / 411.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1136, allocations: 0 / 411.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1137, allocations: 42.48 kB / 411.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1137, allocations: 0 / 411.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002712/0.1139, allocations: 77.56 kB / 411.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.114, allocations: 85.23 kB / 411.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1142, allocations: 136.2 kB / 411.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1142, allocations: 29.7 kB / 412 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.1143, allocations: 88.12 kB / 412 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.1143, allocations: 3.953 kB / 412 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1143, allocations: 17.72 kB / 412.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1145, allocations: 322.8 kB / 412.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.1145, allocations: 8 kB / 412.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.1146, allocations: 35.61 kB / 412.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1147, allocations: 51.36 kB / 412.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1147, allocations: 4 kB / 412.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.1149, allocations: 69.5 kB / 412.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1149, allocations: 8 kB / 412.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1149, allocations: 96 / 412.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1149, allocations: 3.984 kB / 412.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.115, allocations: 8 kB / 412.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.115, allocations: 4 kB / 412.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.1151, allocations: 3.984 kB / 412.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1151, allocations: 12.12 kB / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.815e-05/0.1152, allocations: 113.8 kB / 412.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.1153, allocations: 57.58 kB / 412.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1153, allocations: 8.25 kB / 412.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1153, allocations: 3.938 kB / 412.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1153, allocations: 0 / 412.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1153, allocations: 0 / 412.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1155, allocations: 177.6 kB / 412.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1155, allocations: 0 / 412.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.1156, allocations: 12 kB / 412.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1156, allocations: 0 / 412.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1156, allocations: 0 / 412.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.1156, allocations: 4 kB / 412.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1156, allocations: 3.984 kB / 413 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.1158, allocations: 176.2 kB / 413.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.1159, allocations: 97.05 kB / 413.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.116, allocations: 0 / 413.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.116, allocations: 4 kB / 413.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.1161, allocations: 0 / 413.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1161, allocations: 4 kB / 413.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.948e-05/0.1162, allocations: 109.3 kB / 413.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1162, allocations: 3.938 kB / 413.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.1164, allocations: 8 kB / 413.3 MB, free: 1.223 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001613/0.1166, allocations: 103.7 kB / 413.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1167, allocations: 39.91 kB / 413.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1167, allocations: 0 / 413.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.1168, allocations: 4 kB / 413.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1171, allocations: 23.95 kB / 413.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.1175, allocations: 201.3 kB / 413.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.1178, allocations: 0.6961 MB / 414.4 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.1178, allocations: 11.44 kB / 414.4 MB, free: 84 kB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1178, allocations: 0 / 414.4 MB, free: 84 kB / 334.1 MB Notification: Performance of Templates: time 0.002285/0.1201, allocations: 0.7452 MB / 415.2 MB, free: 15.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.099216643022373]