Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001969/0.001969, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.002422/0.002422, allocations: 168.8 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.505/1.505, allocations: 177.2 MB / 204.3 MB, free: 9.152 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.2269/0.2269, allocations: 34.28 MB / 295 MB, free: 14.55 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.215e-05, allocations: 9.656 kB / 442.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003619/0.003651, allocations: 1.677 MB / 444.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.005687, allocations: 0.9588 MB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.005791, allocations: 3.938 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.006147, allocations: 51.69 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.006557, allocations: 103.5 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.006819, allocations: 75.62 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.007046, allocations: 107.6 kB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.007095, allocations: 4.234 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.007231, allocations: 47.84 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.007332, allocations: 31.89 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.007359, allocations: 4 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.007474, allocations: 27.94 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.007551, allocations: 31.86 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.00761, allocations: 23.86 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.007893, allocations: 115.6 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.007897, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.007899, allocations: 0 / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.007906, allocations: 0 / 446 MB, free: 2.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007192/0.008626, allocations: 369.3 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.008666, allocations: 12.02 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.008731, allocations: 16.84 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.009009, allocations: 154.5 kB / 446.6 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.009031, allocations: 8.312 kB / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.009045, allocations: 384 / 446.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.009202, allocations: 54.23 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.009215, allocations: 3.938 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.009226, allocations: 0 / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.009231, allocations: 0 / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.009315, allocations: 15.98 kB / 446.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.009539, allocations: 153.2 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.009736, allocations: 50.61 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.0098, allocations: 20.84 kB / 446.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.009817, allocations: 4 kB / 446.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.009999, allocations: 67.39 kB / 446.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.01, allocations: 0 / 446.9 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003502/0.01035, allocations: 109.4 kB / 447 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.0104, allocations: 55.41 kB / 447.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.01072, allocations: 275 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01074, allocations: 25.7 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.01082, allocations: 112.1 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.01086, allocations: 19.83 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.01092, allocations: 21.72 kB / 447.5 MB, free: 352 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.01109, allocations: 330.8 kB / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.228/0.2391, allocations: 13.12 kB / 447.9 MB, free: 19.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2392, allocations: 26.25 kB / 447.9 MB, free: 19.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2394, allocations: 47.02 kB / 447.9 MB, free: 19.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2394, allocations: 0.6562 kB / 447.9 MB, free: 19.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002156/0.2396, allocations: 89.38 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2396, allocations: 5.344 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2396, allocations: 3.609 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.2396, allocations: 6.25 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.2397, allocations: 9.984 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2397, allocations: 1.969 kB / 448 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.2398, allocations: 2.781 kB / 448.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.2398, allocations: 6.828 kB / 448.1 MB, free: 19.12 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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.0001192/0.2399, allocations: 138.7 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.24, allocations: 17.16 kB / 448.2 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.2402, allocations: 101.3 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2402, allocations: 4.203 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2402, allocations: 0 / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2402, allocations: 0.6094 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2404, allocations: 146.8 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2404, allocations: 1.125 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.2404, allocations: 7.953 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2404, allocations: 1.406 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2404, allocations: 1.984 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2404, allocations: 0.6094 kB / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2404, allocations: 0 / 448.5 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.2406, allocations: 119.9 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.2407, allocations: 17.06 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.2407, allocations: 6.125 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.2407, allocations: 4.078 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2408, allocations: 11.55 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2408, allocations: 3.906 kB / 448.6 MB, free: 18.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.241, allocations: 206 kB / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.241, allocations: 0 / 448.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2412, allocations: 23.23 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001608/0.2428, allocations: 434.8 kB / 449.3 MB, free: 18.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.243, allocations: 47.73 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.243, allocations: 0 / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/0.2431, allocations: 22.66 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2434, allocations: 36.42 kB / 449.4 MB, free: 18.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.2439, allocations: 270.2 kB / 449.6 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.244, allocations: 107.2 kB / 449.8 MB, free: 18.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.244, allocations: 19.98 kB / 449.8 MB, free: 18.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.2441, allocations: 15.8 kB / 449.8 MB, free: 18.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2441, allocations: 4 kB / 449.8 MB, free: 18.31 MB / 366.1 MB Notification: Performance of Templates: time 0.005487/0.2496, allocations: 1.64 MB / 451.4 MB, free: 18.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.086921621114016]