Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001562/0.001562, allocations: 83.84 kB / 20.68 MB, free: 1.023 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.00168/0.00168, allocations: 164.1 kB / 23.96 MB, free: 4.145 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.381/1.381, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1967/0.1967, allocations: 32.82 MB / 293.5 MB, free: 24 kB / 270.1 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.465e-05, allocations: 2.281 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002868/0.002892, allocations: 1.671 MB / 441.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004613, allocations: 0.9509 MB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.004677, allocations: 0 / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.004959, allocations: 59.67 kB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.005258, allocations: 99.53 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.005431, allocations: 71.67 kB / 443 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.005612, allocations: 119.5 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.00565, allocations: 8.172 kB / 443.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.005755, allocations: 51.83 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.005854, allocations: 39.89 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005873, allocations: 4 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.005965, allocations: 31.94 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.006021, allocations: 19.91 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.006067, allocations: 19.92 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.006254, allocations: 99.64 kB / 443.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006257, allocations: 4 kB / 443.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006258, allocations: 0 / 443.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.006261, allocations: 0 / 443.4 MB, free: 4.812 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.0005325/0.006794, allocations: 333.6 kB / 443.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.006825, allocations: 8.031 kB / 443.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.006869, allocations: 12.89 kB / 443.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.007096, allocations: 154.8 kB / 443.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.007108, allocations: 384 / 443.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.00712, allocations: 4.375 kB / 443.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.007254, allocations: 50.17 kB / 444 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.007266, allocations: 11.94 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.007277, allocations: 4 kB / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.007281, allocations: 0 / 444 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.007349, allocations: 15.98 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.007531, allocations: 129.3 kB / 444.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.007695, allocations: 50.61 kB / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.00775, allocations: 16.86 kB / 444.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.007765, allocations: 7.922 kB / 444.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.007911, allocations: 71.39 kB / 444.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.007912, allocations: 0 / 444.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003035/0.008215, allocations: 97.56 kB / 444.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.008261, allocations: 55.41 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.008462, allocations: 187.3 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.008483, allocations: 33.64 kB / 444.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.008553, allocations: 100.1 kB / 444.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.008581, allocations: 15.91 kB / 444.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.008619, allocations: 17.72 kB / 444.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.008772, allocations: 322.8 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.008824, allocations: 19.98 kB / 445.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.008887, allocations: 29.7 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.008992, allocations: 45.7 kB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.008994, allocations: 0 / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001817/0.009176, allocations: 81.58 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.009194, allocations: 8 kB / 445.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009199, allocations: 3.938 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.009211, allocations: 0 / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.009285, allocations: 16.02 kB / 445.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.009292, allocations: 8.094 kB / 445.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.009337, allocations: 7.891 kB / 445.3 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.009346, allocations: 4 kB / 445.3 MB, free: 2.742 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.0001131/0.009459, allocations: 125.8 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.009482, allocations: 11.95 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.009697, allocations: 98.75 kB / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009699, allocations: 0 / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.009702, allocations: 0 / 445.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.009708, allocations: 3.984 kB / 445.5 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.009871, allocations: 133.7 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009872, allocations: 0 / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.009901, allocations: 11.94 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009905, allocations: 4 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.009913, allocations: 0 / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.009919, allocations: 3.938 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.009921, allocations: 3.938 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.01012, allocations: 117 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.01015, allocations: 7.938 kB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.01017, allocations: 4 kB / 445.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.01021, allocations: 7.938 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.01024, allocations: 8 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.01025, allocations: 3.984 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.01038, allocations: 136 kB / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01038, allocations: 0 / 446 MB, free: 2.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.0106, allocations: 27.92 kB / 446 MB, free: 1.984 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.001588/0.01219, allocations: 439.2 kB / 446.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.01236, allocations: 43.92 kB / 446.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01236, allocations: 64 / 446.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.01243, allocations: 23.98 kB / 446.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01269, allocations: 27.02 kB / 446.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.01313, allocations: 201 kB / 446.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.01322, allocations: 97.38 kB / 446.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01326, allocations: 8.484 kB / 446.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.0133, allocations: 16.5 kB / 446.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0133, allocations: 4 kB / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of Templates: time 0.1616/0.1749, allocations: 1.623 MB / 448.5 MB, free: 21.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.526899103075266]