Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001276/0.001276, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00137/0.00137, allocations: 163 kB / 23.95 MB, free: 4.168 MB / 14.72 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.398/1.398, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2026/0.2026, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 440.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.153e-05, allocations: 2.281 kB / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002955/0.002977, allocations: 1.723 MB / 441.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.004725, allocations: 0.9664 MB / 442.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.004789, allocations: 7.938 kB / 442.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.005043, allocations: 35.83 kB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.005345, allocations: 99.42 kB / 443 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.005536, allocations: 79.59 kB / 443.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.005716, allocations: 111.6 kB / 443.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.005789, allocations: 4 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.005893, allocations: 51.84 kB / 443.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.005969, allocations: 31.89 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.005989, allocations: 4 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/0.006077, allocations: 39.98 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.006136, allocations: 31.86 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.00618, allocations: 23.86 kB / 443.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.006379, allocations: 111.6 kB / 443.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006383, allocations: 8 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006384, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.006387, allocations: 0 / 443.5 MB, free: 4.758 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005025/0.00689, allocations: 341.6 kB / 443.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.006922, allocations: 12.03 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.006972, allocations: 20.78 kB / 443.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.007179, allocations: 154.3 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.00719, allocations: 4.375 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.00721, allocations: 4.375 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.007357, allocations: 58.17 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.007369, allocations: 3.938 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.007378, allocations: 0 / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.007382, allocations: 0 / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.007459, allocations: 23.98 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.007793, allocations: 228.6 kB / 444.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.007968, allocations: 62.61 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.00803, allocations: 32.72 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.008043, allocations: 0 / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.008195, allocations: 67.39 kB / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.008197, allocations: 0 / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005588/0.008755, allocations: 185.3 kB / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.008803, allocations: 51.41 kB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.009001, allocations: 206.2 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.009019, allocations: 25.7 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.009084, allocations: 104.1 kB / 445 MB, free: 3.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.00912, allocations: 35.77 kB / 445.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.009161, allocations: 21.72 kB / 445.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.009304, allocations: 322.8 kB / 445.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.009368, allocations: 23.98 kB / 445.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.009442, allocations: 37.64 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.009568, allocations: 65.64 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.009569, allocations: 0 / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.009776, allocations: 109.5 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.00979, allocations: 8.031 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009794, allocations: 4 kB / 445.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.009808, allocations: 0 / 445.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.009896, allocations: 12 kB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.0099, allocations: 0 / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.009945, allocations: 8.359 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.009954, allocations: 4 kB / 445.7 MB, free: 2.383 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001124/0.01007, allocations: 134.3 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.01009, allocations: 7.953 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.01035, allocations: 127.1 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01035, allocations: 4 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01035, allocations: 0 / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01036, allocations: 7.922 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.0108, allocations: 347.2 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.0108, allocations: 0 / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.01085, allocations: 15.92 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01085, allocations: 3.938 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.01086, allocations: 8 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01086, allocations: 0 / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01086, allocations: 32 / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.01112, allocations: 220.2 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.01114, allocations: 11.91 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.01116, allocations: 0 / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.01124, allocations: 4 kB / 446.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.01127, allocations: 11.98 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.01129, allocations: 4 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.01142, allocations: 152.2 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01142, allocations: 0 / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.01168, allocations: 27.94 kB / 446.7 MB, free: 1.242 MB / 366.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: 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 (9): * Single equations (assignments): 7 * 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.001775/0.01346, allocations: 0.4922 MB / 447.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.01364, allocations: 51.92 kB / 447.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.01364, allocations: 0 / 447.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.01372, allocations: 39.98 kB / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01406, allocations: 30.95 kB / 447.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.01452, allocations: 238.1 kB / 447.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.01461, allocations: 92.3 kB / 447.7 MB, free: 484 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.698e-05/0.01465, allocations: 12.97 kB / 447.7 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.01469, allocations: 20.56 kB / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.01469, allocations: 0 / 447.7 MB, free: 444 kB / 366.1 MB Notification: Performance of Templates: time 0.1651/0.1798, allocations: 1.845 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.586205117404461]