Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001914/0.001914, 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.00201/0.00201, allocations: 165.3 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.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3452/0.3452, allocations: 34.27 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 377.4 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.318e-05, allocations: 5.406 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003905/0.003938, allocations: 1.923 MB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.006051, allocations: 1.037 MB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.006145, allocations: 0 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.006488, allocations: 47.62 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.006851, allocations: 103.3 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.007109, allocations: 95.58 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.007383, allocations: 155.5 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.007513, allocations: 21.78 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.007666, allocations: 75.77 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.007773, allocations: 39.81 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.007805, allocations: 8 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.007916, allocations: 47.92 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.00799, allocations: 27.91 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.008058, allocations: 27.86 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.008367, allocations: 159.4 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.008371, allocations: 0 / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008372, allocations: 4 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.008378, allocations: 0 / 381.1 MB, free: 15.12 MB / 362.7 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.0008142/0.009193, allocations: 0.501 MB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.009228, allocations: 8.031 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.009304, allocations: 24.8 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.009621, allocations: 177.1 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.009643, allocations: 8.375 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.009669, allocations: 4.375 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.009931, allocations: 138.9 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.009943, allocations: 11.94 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.009959, allocations: 4 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.009964, allocations: 0 / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.01011, allocations: 43.91 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.01089, allocations: 0.6028 MB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.01124, allocations: 87.16 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01135, allocations: 31.67 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.01137, allocations: 8 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.0116, allocations: 114.7 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.0116, allocations: 0 / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007181/0.01232, allocations: 137.5 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.01237, allocations: 55.41 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.01266, allocations: 263.1 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.01269, allocations: 29.7 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.01284, allocations: 174.8 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.01287, allocations: 23.8 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.01295, allocations: 43.31 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.01324, allocations: 0.5118 MB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.01332, allocations: 23.98 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.01345, allocations: 78.42 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.01365, allocations: 106.3 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01366, allocations: 0 / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/0.01394, allocations: 137.4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01396, allocations: 8 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01397, allocations: 0 / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.01398, allocations: 4 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.01408, allocations: 19.98 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.01409, allocations: 3.938 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.01416, allocations: 11.94 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.01418, allocations: 8 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001526/0.01433, allocations: 168.5 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.01438, allocations: 32.02 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.01468, allocations: 115.5 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01468, allocations: 4 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01469, allocations: 3.938 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01469, allocations: 0 / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.01492, allocations: 180.5 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01492, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.015, allocations: 15.98 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.015, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01501, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01502, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01502, allocations: 7.984 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.01545, allocations: 204.1 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.01548, allocations: 15.91 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.0155, allocations: 0 / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.001e-05/0.01556, allocations: 4 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.01562, allocations: 11.98 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.01564, allocations: 3.984 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.01581, allocations: 183.2 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01581, allocations: 0 / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.01607, allocations: 31.92 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.002995/0.01907, allocations: 443.1 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.01935, allocations: 79.53 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01936, allocations: 0 / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.01947, allocations: 47.8 kB / 386 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.01982, allocations: 43.03 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.02052, allocations: 274 kB / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.02066, allocations: 106.1 kB / 386.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.862e-05/0.02074, allocations: 17.48 kB / 386.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.02079, allocations: 16.5 kB / 386.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02079, allocations: 4 kB / 386.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of Templates: time 0.006407/0.02719, allocations: 2.048 MB / 388.5 MB, free: 7.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.894972687005065]