Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001116/0.001116, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001922/0.001922, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.102/1.102, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.3244/0.3244, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378.6 MB, free: 2.262 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.964e-05, allocations: 6.25 kB / 378.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00248/0.00251, allocations: 1.746 MB / 380.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.00425, allocations: 1.733 MB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.004334, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.004603, allocations: 31.78 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.004934, allocations: 115.4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.005095, allocations: 79.61 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.005253, allocations: 103.7 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.005348, allocations: 11.98 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.154e-05/0.00544, allocations: 63.77 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.00554, allocations: 27.91 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005557, allocations: 4 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.005709, allocations: 103.8 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.005761, allocations: 27.84 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.005796, allocations: 19.92 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.006024, allocations: 167.5 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.006033, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.006035, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.006042, allocations: 0 / 382.8 MB, free: 14.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006351/0.006677, allocations: 455.7 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.006721, allocations: 8.031 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.006769, allocations: 20.83 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.006994, allocations: 144 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.00702, allocations: 4.375 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.007051, allocations: 384 / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.007263, allocations: 111.4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.007278, allocations: 3.953 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.007291, allocations: 8 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.0073, allocations: 0 / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.007334, allocations: 11.92 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.007682, allocations: 264.4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.007813, allocations: 51.11 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.007839, allocations: 11.69 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.007866, allocations: 4 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.007998, allocations: 76.97 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.275e-06/0.008, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003637/0.008364, allocations: 129.5 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.008407, allocations: 81.11 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.008553, allocations: 216.8 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.008574, allocations: 25.7 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.008652, allocations: 146.8 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.008687, allocations: 27.78 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.008727, allocations: 31.36 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.008886, allocations: 0.4961 MB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.008908, allocations: 12 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.008963, allocations: 68.73 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.00902, allocations: 55.28 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009021, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001142/0.009135, allocations: 89.89 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.009151, allocations: 8 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.009157, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.009173, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.009246, allocations: 19.98 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009251, allocations: 8.062 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.009286, allocations: 0 / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.009294, allocations: 8 kB / 385.4 MB, free: 11.21 MB / 362.7 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.0001012/0.009395, allocations: 160.5 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.009415, allocations: 11.95 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.009579, allocations: 98.38 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.009584, allocations: 4 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.009586, allocations: 0 / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.00959, allocations: 0 / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.009904, allocations: 369.5 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009907, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.009939, allocations: 11.94 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009943, allocations: 4 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.009951, allocations: 3.984 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.009953, allocations: 0 / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.009958, allocations: 4 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.01012, allocations: 251.4 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.01013, allocations: 7.953 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.01015, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.0102, allocations: 4 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.01023, allocations: 16.02 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01025, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.33e-05/0.01032, allocations: 161.6 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01032, allocations: 0 / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01055, allocations: 51.81 kB / 386.5 MB, free: 9.996 MB / 362.7 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.00131/0.01186, allocations: 0.5383 MB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.012, allocations: 51.58 kB / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.012, allocations: 0 / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.01205, allocations: 31.73 kB / 387.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01231, allocations: 42.48 kB / 387.2 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.01272, allocations: 197.9 kB / 387.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.332e-05/0.01278, allocations: 67.33 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.01283, allocations: 21.27 kB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/0.01292, allocations: 94.19 kB / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.794e-06/0.01292, allocations: 0 / 387.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of Templates: time 0.005252/0.01818, allocations: 2.78 MB / 390.3 MB, free: 6.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4648759099654853]