Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001408/0.001408, allocations: 81.56 kB / 20.68 MB, free: 1.039 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.001714/0.001714, allocations: 164.6 kB / 23.96 MB, free: 4.164 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.481/1.481, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 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.22/0.22, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.539e-05, allocations: 2.281 kB / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003613/0.003639, allocations: 2.183 MB / 445 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.006165, allocations: 1.262 MB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.006301, allocations: 7.938 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.006725, allocations: 143.2 kB / 446.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.007377, allocations: 262.8 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.007805, allocations: 195.4 kB / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.008398, allocations: 474.5 kB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.00855, allocations: 41.27 kB / 447.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/0.009046, allocations: 391.1 kB / 447.7 MB, free: 352 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.009258, allocations: 143.5 kB / 447.8 MB, free: 208 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.009309, allocations: 16 kB / 447.9 MB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.009465, allocations: 75.84 kB / 447.9 MB, free: 116 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2091/0.2186, allocations: 156.2 kB / 448.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.2189, allocations: 100.4 kB / 448.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.2197, allocations: 468.3 kB / 448.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2197, allocations: 0 / 448.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2197, allocations: 0 / 448.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.2197, allocations: 4.219 kB / 448.6 MB, free: 15.88 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001078/0.2208, allocations: 0.8267 MB / 449.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2208, allocations: 10.31 kB / 449.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.221, allocations: 76.3 kB / 449.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.2214, allocations: 373.4 kB / 449.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.2214, allocations: 13.53 kB / 449.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.2215, allocations: 24.3 kB / 450 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.2219, allocations: 202.6 kB / 450.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.2219, allocations: 1.375 kB / 450.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2219, allocations: 10.2 kB / 450.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2219, allocations: 3.125 kB / 450.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.2222, allocations: 103.1 kB / 450.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.223, allocations: 0.7422 MB / 451 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.2236, allocations: 244.4 kB / 451.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2238, allocations: 89.62 kB / 451.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2238, allocations: 3.531 kB / 451.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.2242, allocations: 213.7 kB / 451.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.2242, allocations: 0 / 451.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002633/0.2268, allocations: 1.23 MB / 452.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.2269, allocations: 135.4 kB / 452.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.2279, allocations: 0.9775 MB / 453.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.2279, allocations: 38.39 kB / 453.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.2281, allocations: 277.9 kB / 454.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.2282, allocations: 148.8 kB / 454.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2283, allocations: 81.97 kB / 454.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.2284, allocations: 319.8 kB / 454.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.2286, allocations: 117.7 kB / 454.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.2289, allocations: 194.9 kB / 455 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.2294, allocations: 332.4 kB / 455.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.2294, allocations: 5.344 kB / 455.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007438/0.2301, allocations: 453.5 kB / 455.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2302, allocations: 9.719 kB / 455.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2302, allocations: 2.172 kB / 455.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2302, allocations: 4.531 kB / 455.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.2305, allocations: 90.48 kB / 455.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2305, allocations: 6.75 kB / 455.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2307, allocations: 15.36 kB / 455.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2307, allocations: 17.72 kB / 456 MB, free: 12.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002439/0.2309, allocations: 266 kB / 456.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.231, allocations: 79 kB / 456.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.232, allocations: 0.5418 MB / 456.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.232, allocations: 5.438 kB / 456.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2321, allocations: 2.609 kB / 456.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.2321, allocations: 3.234 kB / 456.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2337, allocations: 1.28 MB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.2338, allocations: 6.75 kB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2339, allocations: 67.2 kB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.234, allocations: 5.156 kB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.234, allocations: 15.52 kB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.234, allocations: 4.969 kB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.234, allocations: 7 kB / 458.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.2349, allocations: 0.8288 MB / 459.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.2351, allocations: 112.1 kB / 459.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.2352, allocations: 20.5 kB / 459.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.2355, allocations: 15.95 kB / 459.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2356, allocations: 45.16 kB / 459.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.2356, allocations: 23.89 kB / 459.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.2365, allocations: 0.7154 MB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2365, allocations: 1.156 kB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005734/0.237, allocations: 94.59 kB / 460.1 MB, free: 10.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002119/0.2391, allocations: 0.568 MB / 460.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.2398, allocations: 309.3 kB / 461 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.2398, allocations: 0 / 461 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.2402, allocations: 163 kB / 461.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2412, allocations: 145.9 kB / 461.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.243, allocations: 1.229 MB / 462.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.2434, allocations: 324.3 kB / 462.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.2436, allocations: 76.38 kB / 462.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2437, allocations: 57.77 kB / 462.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2437, allocations: 0 / 462.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of Templates: time 0.01253/0.2562, allocations: 5.741 MB / 468.7 MB, free: 8.328 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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: 5.200160779058933]