Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001738/0.001738, allocations: 119.4 kB / 18.41 MB, free: 4.516 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.001923/0.001924, allocations: 188.3 kB / 21.34 MB, free: 1.59 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.464/1.464, allocations: 222.9 MB / 247 MB, free: 4.332 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 47.92 kB / 358.7 MB, free: 8.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1185, allocations: 49.43 MB / 408.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003293/0.1219, allocations: 1.681 MB / 409.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005007/0.1224, allocations: 163.4 kB / 410 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1225, allocations: 4 kB / 410 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.312e-05/0.1226, allocations: 15.81 kB / 410 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1228, allocations: 15.88 kB / 410 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1231, allocations: 39.89 kB / 410 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1232, allocations: 51.84 kB / 410.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1233, allocations: 35.97 kB / 410.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.1234, allocations: 19.92 kB / 410.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.1234, allocations: 23.86 kB / 410.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1235, allocations: 7.938 kB / 410.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.1235, allocations: 4 kB / 410.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.1235, allocations: 19.92 kB / 410.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.1236, allocations: 31.75 kB / 410.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1237, allocations: 67.66 kB / 410.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1238, allocations: 0 / 410.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1238, allocations: 0 / 410.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1238, allocations: 0 / 410.3 MB, free: 4.789 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005443/0.1243, allocations: 395 kB / 410.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1244, allocations: 11.97 kB / 410.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1244, allocations: 20.84 kB / 410.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1248, allocations: 198.4 kB / 410.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1248, allocations: 4.375 kB / 410.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1248, allocations: 4.375 kB / 410.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.1252, allocations: 172.8 kB / 411.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1252, allocations: 4.125 kB / 411.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1252, allocations: 7.938 kB / 411.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1252, allocations: 0 / 411.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1254, allocations: 39.97 kB / 411.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1258, allocations: 357.9 kB / 411.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1261, allocations: 115.8 kB / 411.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1262, allocations: 58.69 kB / 411.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1263, allocations: 7.984 kB / 411.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1263, allocations: 34.5 kB / 411.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1263, allocations: 4 kB / 411.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003649/0.1267, allocations: 129.6 kB / 411.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.1268, allocations: 110.8 kB / 411.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1269, allocations: 133.8 kB / 412.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1269, allocations: 25.7 kB / 412.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.127, allocations: 88.14 kB / 412.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.127, allocations: 12.2 kB / 412.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1271, allocations: 29.66 kB / 412.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1272, allocations: 322.8 kB / 412.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.1273, allocations: 19.92 kB / 412.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.1274, allocations: 67.67 kB / 412.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1276, allocations: 107.5 kB / 412.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1276, allocations: 0 / 412.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.1278, allocations: 101.4 kB / 412.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1278, allocations: 8.281 kB / 412.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1278, allocations: 4 kB / 412.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1278, allocations: 7.984 kB / 412.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.1279, allocations: 19.94 kB / 412.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1279, allocations: 4 kB / 412.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.128, allocations: 11.92 kB / 412.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.128, allocations: 8 kB / 412.9 MB, free: 1.863 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 0.0001055/0.1281, allocations: 121.8 kB / 413 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.1283, allocations: 77.53 kB / 413.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1283, allocations: 20.72 kB / 413.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1283, allocations: 7.984 kB / 413.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1283, allocations: 0 / 413.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1284, allocations: 3.984 kB / 413.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1286, allocations: 185.5 kB / 413.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1286, allocations: 0 / 413.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.1287, allocations: 23.98 kB / 413.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1288, allocations: 0 / 413.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1288, allocations: 0 / 413.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1288, allocations: 4 kB / 413.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1288, allocations: 0 / 413.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.1292, allocations: 324.3 kB / 413.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.1293, allocations: 96.98 kB / 413.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1293, allocations: 7.938 kB / 413.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1294, allocations: 8 kB / 413.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1295, allocations: 0 / 413.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1295, allocations: 4 kB / 413.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.315e-05/0.1296, allocations: 109.4 kB / 413.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 0 / 413.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1299, allocations: 12 kB / 413.9 MB, free: 0.7695 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.00013/0.13, allocations: 115.5 kB / 414 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1302, allocations: 67.84 kB / 414 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1303, allocations: 4 kB / 414 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.1303, allocations: 7.984 kB / 414.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1308, allocations: 40.02 kB / 414.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.1312, allocations: 234.4 kB / 414.3 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1316, allocations: 0.7002 MB / 415 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1316, allocations: 15.44 kB / 415 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1316, allocations: 0 / 415 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Templates: time 0.002972/0.1346, allocations: 0.9118 MB / 415.9 MB, free: 14.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.081896946998313]