Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 111.2 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3638/0.3638, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 55.92 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3402, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002889/0.3432, allocations: 1.757 MB / 0.5081 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3445, allocations: 0.8734 MB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.3446, allocations: 2.625 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3449, allocations: 37.14 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.345, allocations: 45.8 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.3453, allocations: 94.95 kB / 0.5091 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3454, allocations: 94.7 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.3455, allocations: 10.2 kB / 0.5092 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.3456, allocations: 40.42 kB / 0.5093 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.3456, allocations: 28.81 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3456, allocations: 2.531 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.3457, allocations: 39.98 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.3458, allocations: 20.94 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.3458, allocations: 41.59 kB / 0.5094 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.346, allocations: 103.8 kB / 0.5095 GB, free: 36.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.346, allocations: 0 / 0.5095 GB, free: 36.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.346, allocations: 3.938 kB / 0.5095 GB, free: 36.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.346, allocations: 4 kB / 0.5095 GB, free: 36.23 MB / 378.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.000405/0.3465, allocations: 405.3 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3465, allocations: 11.7 kB / 0.5099 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3465, allocations: 14.62 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3467, allocations: 200.3 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3467, allocations: 2.812 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3468, allocations: 6.5 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3469, allocations: 56.72 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3469, allocations: 4 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3469, allocations: 7.125 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3469, allocations: 2.531 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.347, allocations: 21.73 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.3473, allocations: 290.2 kB / 0.5105 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3474, allocations: 60.08 kB / 0.5105 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.3475, allocations: 17.45 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3475, allocations: 6.172 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.3477, allocations: 61.25 kB / 0.5106 GB, free: 35.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3477, allocations: 0 / 0.5106 GB, free: 35.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004668/0.3482, allocations: 180.2 kB / 0.5108 GB, free: 35.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.3482, allocations: 55.41 kB / 0.5108 GB, free: 34.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3484, allocations: 185.9 kB / 0.511 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3484, allocations: 28.42 kB / 0.5111 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.3484, allocations: 101 kB / 0.5111 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3484, allocations: 25.58 kB / 0.5112 GB, free: 34.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.3485, allocations: 21.81 kB / 0.5112 GB, free: 34.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.3485, allocations: 332.3 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.3486, allocations: 15.03 kB / 0.5115 GB, free: 34.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.3487, allocations: 43.08 kB / 0.5116 GB, free: 34.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.3488, allocations: 64.44 kB / 0.5116 GB, free: 34.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3488, allocations: 4 kB / 0.5116 GB, free: 34.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.3489, allocations: 98.58 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3489, allocations: 5.656 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.349, allocations: 0 / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.349, allocations: 6.812 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.3491, allocations: 20.52 kB / 0.5118 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3491, allocations: 0 / 0.5118 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.3491, allocations: 6.594 kB / 0.5118 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3491, allocations: 2.656 kB / 0.5118 GB, free: 34.23 MB / 378.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 6.455e-05/0.3492, allocations: 131.2 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.3492, allocations: 17.56 kB / 0.5119 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.3493, allocations: 17.72 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3493, allocations: 0 / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3493, allocations: 4 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3493, allocations: 3.938 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.3496, allocations: 387.3 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3497, allocations: 0 / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.3497, allocations: 11.88 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3497, allocations: 2.562 kB / 0.5123 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3497, allocations: 7.219 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3497, allocations: 2.812 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3497, allocations: 4.031 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3501, allocations: 0.7715 MB / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.3501, allocations: 95.2 kB / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3502, allocations: 0 / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3502, allocations: 6.781 kB / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3503, allocations: 6.172 kB / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3503, allocations: 9.688 kB / 0.5132 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.137e-05/0.3504, allocations: 148.8 kB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3504, allocations: 0 / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.3508, allocations: 32.36 kB / 0.5134 GB, free: 32.74 MB / 378.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 (8): * Single equations (assignments): 6 * 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.0009318/0.3517, allocations: 461.3 kB / 0.5138 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.3519, allocations: 62.75 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3519, allocations: 2.938 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.088e-05/0.3519, allocations: 28.38 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3523, allocations: 33.42 kB / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.3527, allocations: 374.5 kB / 0.5143 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3528, allocations: 0.712 MB / 0.515 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.3529, allocations: 15.61 kB / 0.515 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.3529, allocations: 15.5 kB / 0.515 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3529, allocations: 0 / 0.515 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.003976/0.3569, allocations: 1.677 MB / 0.5166 GB, free: 31.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches