Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001797/0.001797, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002499/0.002499, allocations: 161.7 kB / 24.27 MB, free: 168 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.509/1.509, 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.3637/0.3637, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.722e-05, allocations: 2.312 kB / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003333/0.00336, allocations: 1.716 MB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.005234, allocations: 0.9853 MB / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.005298, allocations: 0 / 380.1 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.005586, allocations: 47.64 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.0059, allocations: 91.55 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.006144, allocations: 87.59 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.006332, allocations: 103.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.006414, allocations: 11.98 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.006529, allocations: 51.84 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.00661, allocations: 35.83 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.00663, allocations: 4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.006729, allocations: 43.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.006786, allocations: 19.92 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.006838, allocations: 19.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.007069, allocations: 111.6 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007071, allocations: 3.938 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007072, allocations: 4 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007076, allocations: 4 kB / 380.7 MB, free: 15.54 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.0005547/0.007631, allocations: 341.6 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.007666, allocations: 8.031 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.007728, allocations: 20.83 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.00801, allocations: 154.3 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.008024, allocations: 4.375 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.008046, allocations: 384 / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.008202, allocations: 58.23 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.008214, allocations: 7.938 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.008223, allocations: 3.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.008227, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.047e-05/0.008307, allocations: 19.98 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.008685, allocations: 236.5 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.008888, allocations: 58.67 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.008958, allocations: 28.72 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.008973, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.009136, allocations: 67.39 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.009137, allocations: 4 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005972/0.009735, allocations: 177.7 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.009794, allocations: 55.41 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.01003, allocations: 202.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.01005, allocations: 25.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.01014, allocations: 108.1 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.01017, allocations: 23.78 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.01023, allocations: 25.72 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.0104, allocations: 322.8 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.01047, allocations: 31.92 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.01055, allocations: 41.64 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.0107, allocations: 73.75 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.0107, allocations: 0 / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002344/0.01093, allocations: 105.6 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01095, allocations: 7.984 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01095, allocations: 0 / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.01098, allocations: 4 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.01107, allocations: 12 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01107, allocations: 4.031 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.01113, allocations: 7.984 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.01113, allocations: 0 / 382.9 MB, free: 13.16 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.0001228/0.01126, allocations: 133.7 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.01129, allocations: 15.91 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.01157, allocations: 119.1 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01157, allocations: 0 / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01157, allocations: 3.938 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01158, allocations: 0 / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.01209, allocations: 351 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.0121, allocations: 3.938 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.01214, allocations: 15.98 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01215, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01215, allocations: 4 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01216, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01216, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01246, allocations: 220.2 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01248, allocations: 15.89 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.01251, allocations: 4 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.0126, allocations: 8.031 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.01264, allocations: 3.984 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01265, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.01281, allocations: 160.2 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01281, allocations: 0 / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01308, allocations: 23.92 kB / 384 MB, free: 12.02 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.002246/0.01533, allocations: 0.4891 MB / 384.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.01553, allocations: 59.91 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01553, allocations: 0 / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.01562, allocations: 28.09 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.01601, allocations: 42.7 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.01655, allocations: 233.7 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.01666, allocations: 92.3 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.01684, allocations: 12.97 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.01689, allocations: 20.5 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01689, allocations: 0 / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005393/0.02228, allocations: 1.866 MB / 386.8 MB, free: 9.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.786982801975682]