Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001944/0.001944, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002671/0.002671, allocations: 169.3 kB / 24.27 MB, free: 144 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3634/0.3634, allocations: 34.26 MB / 295.3 MB, free: 0.6719 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.64e-05/3.881e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003797/0.003836, allocations: 1.723 MB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.006339, allocations: 0.9781 MB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.006431, allocations: 0 / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.006819, allocations: 51.62 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.007193, allocations: 95.55 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.007459, allocations: 75.61 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.007685, allocations: 111.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.007795, allocations: 4 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.007922, allocations: 59.83 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.008017, allocations: 31.84 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.008039, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.008151, allocations: 43.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.008221, allocations: 19.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.008284, allocations: 27.91 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.008554, allocations: 115.6 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.008558, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.00856, allocations: 3.938 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.008567, allocations: 0 / 380.7 MB, free: 15.51 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.0006993/0.009266, allocations: 349.6 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.009308, allocations: 8.031 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.009387, allocations: 20.84 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.009746, allocations: 154 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.009768, allocations: 8.359 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.009796, allocations: 4.375 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.009974, allocations: 54.23 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.009989, allocations: 3.938 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.01, allocations: 4 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.01001, allocations: 3.938 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.0101, allocations: 23.98 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.01051, allocations: 228.6 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.01073, allocations: 54.67 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.01081, allocations: 28.72 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.01083, allocations: 0 / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.011, allocations: 67.39 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.011, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006725/0.01168, allocations: 189.5 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.01173, allocations: 59.41 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.012, allocations: 215 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01202, allocations: 25.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.01212, allocations: 108.1 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.01215, allocations: 23.81 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.0122, allocations: 17.72 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.01239, allocations: 330.8 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.01246, allocations: 20.06 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.01254, allocations: 45.64 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01269, allocations: 73.69 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.0127, allocations: 0 / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002162/0.01291, allocations: 105.6 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01293, allocations: 8 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01293, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01295, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01306, allocations: 15.98 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.01307, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.01312, allocations: 4 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01313, allocations: 4 kB / 382.9 MB, free: 13.11 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.0001323/0.01326, allocations: 144.9 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.01329, allocations: 15.91 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.01358, allocations: 119.1 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01358, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.01359, allocations: 3.984 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01359, allocations: 3.938 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.01411, allocations: 350.9 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01411, allocations: 0 / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.01415, allocations: 11.94 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01415, allocations: 8.031 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.01417, allocations: 7.984 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01417, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01417, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.01451, allocations: 216.2 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.01453, allocations: 11.91 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.01457, allocations: 7.984 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.01464, allocations: 7.938 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.0147, allocations: 7.984 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.01472, allocations: 4 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.01491, allocations: 167.2 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01491, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.01518, allocations: 20 kB / 384 MB, free: 11.96 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.002549/0.01773, allocations: 496.5 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.01797, allocations: 55.92 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.01797, allocations: 4 kB / 384.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.01806, allocations: 28.08 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.01849, allocations: 44.03 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.01927, allocations: 245.4 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.0194, allocations: 92.94 kB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.01946, allocations: 16.97 kB / 385 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.01951, allocations: 16.5 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01951, allocations: 3.938 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.006103/0.02562, allocations: 1.87 MB / 386.8 MB, free: 9.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.904691263916902]