Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.0009476/0.0009476, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.0009232/0.0009232, allocations: 171.2 kB / 24.82 MB, free: 8.922 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 0.972/0.972, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2532/0.2532, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.078e-05, allocations: 4.422 kB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002569/0.00259, allocations: 1.84 MB / 378.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.00446, allocations: 1.777 MB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.00455, allocations: 4 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.004834, allocations: 63.55 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.005219, allocations: 151.2 kB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.005467, allocations: 107.6 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.005708, allocations: 207.3 kB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.005751, allocations: 5.812 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.005881, allocations: 111.7 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.006028, allocations: 67.36 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.006048, allocations: 8 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.006208, allocations: 111.8 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.006262, allocations: 43.83 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.006304, allocations: 39.86 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.00654, allocations: 207.2 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.006543, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006544, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.006547, allocations: 0 / 381.3 MB, free: 15.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004539/0.007001, allocations: 0.5149 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.007031, allocations: 8.031 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.007076, allocations: 24.8 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.007254, allocations: 188.2 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.007269, allocations: 12.36 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.00728, allocations: 8.375 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.007426, allocations: 161.1 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.007433, allocations: 7.875 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007441, allocations: 3.984 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.007445, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.007479, allocations: 19.92 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.007622, allocations: 136.9 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.007737, allocations: 98.14 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.007771, allocations: 27.36 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.007786, allocations: 8 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.0079, allocations: 104.3 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.007901, allocations: 0 / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002157/0.008116, allocations: 141.4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.008162, allocations: 132.5 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.008318, allocations: 270.6 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.008335, allocations: 37.69 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.008396, allocations: 166.8 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.008428, allocations: 23.8 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.008467, allocations: 39.34 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.008584, allocations: 0.4962 MB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.00861, allocations: 12.48 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.008673, allocations: 125.5 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/0.008737, allocations: 74.66 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008739, allocations: 0 / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001188/0.008858, allocations: 121.4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.008868, allocations: 4 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008872, allocations: 0 / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.008882, allocations: 7.938 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.008948, allocations: 23.98 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.008952, allocations: 4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.008996, allocations: 4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.009002, allocations: 4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.836e-05/0.00908, allocations: 172.6 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.009106, allocations: 27.86 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.009254, allocations: 130.7 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.009256, allocations: 3.938 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009258, allocations: 256 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.009263, allocations: 4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.009367, allocations: 149 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009368, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.009392, allocations: 12 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.009394, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.0094, allocations: 4 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009402, allocations: 8 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009403, allocations: 0 / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.009541, allocations: 175.8 kB / 384.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.009563, allocations: 23.88 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.009582, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.009616, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.009645, allocations: 19.91 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.009656, allocations: 4 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.009743, allocations: 193.7 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009743, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.009972, allocations: 63.8 kB / 385.2 MB, free: 11.25 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009474/0.01092, allocations: 490.1 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.01104, allocations: 67.66 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01104, allocations: 0 / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.01108, allocations: 43.53 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01131, allocations: 72.2 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.01172, allocations: 278.3 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01176, allocations: 75.92 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.731e-05/0.01186, allocations: 21.48 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.01198, allocations: 130.2 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01198, allocations: 4 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005804/0.01778, allocations: 3.776 MB / 390.2 MB, free: 6.496 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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: 2.951410876121372]