Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 207.3 kB / 17.99 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.8 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009504/0.0009504, allocations: 102.8 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3388/0.3388, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3421, allocations: 62.01 MB / 0.5152 GB, free: 37.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002787/0.3449, allocations: 1.82 MB / 0.5169 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3462, allocations: 1.031 MB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.3462, allocations: 3.938 kB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.3466, allocations: 88.14 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.3468, allocations: 103.5 kB / 0.5181 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.3471, allocations: 99.28 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.3472, allocations: 117.1 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.3473, allocations: 11.83 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.3474, allocations: 55.41 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3475, allocations: 68.67 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3476, allocations: 2.781 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3477, allocations: 60.06 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.3477, allocations: 23.91 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3478, allocations: 46.88 kB / 0.5186 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.348, allocations: 137.7 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.348, allocations: 0 / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.348, allocations: 0 / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.348, allocations: 0 / 0.5187 GB, free: 35.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004905/0.3485, allocations: 450.3 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3485, allocations: 9 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3486, allocations: 10.38 kB / 0.5192 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3488, allocations: 215.6 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3488, allocations: 384 / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3488, allocations: 6.938 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.349, allocations: 62.05 kB / 0.5194 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.349, allocations: 6.938 kB / 0.5194 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.349, allocations: 0 / 0.5194 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.349, allocations: 4 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.3491, allocations: 28.64 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.3494, allocations: 304.1 kB / 0.5198 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.3496, allocations: 62.66 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3497, allocations: 23.58 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3497, allocations: 4 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3499, allocations: 73.22 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3499, allocations: 0 / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006565/0.3506, allocations: 240.2 kB / 0.5202 GB, free: 34.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3506, allocations: 62.7 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.3508, allocations: 232.5 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3508, allocations: 32.55 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.3508, allocations: 113.2 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.3509, allocations: 32.98 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3509, allocations: 26.28 kB / 0.5206 GB, free: 33.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.351, allocations: 329.5 kB / 0.5209 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.351, allocations: 31.62 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.3511, allocations: 43.72 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3512, allocations: 77.77 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3512, allocations: 2.719 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001778/0.3514, allocations: 126.6 kB / 0.5212 GB, free: 33.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3514, allocations: 5.688 kB / 0.5212 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3515, allocations: 0 / 0.5212 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3515, allocations: 2.844 kB / 0.5212 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3516, allocations: 20.14 kB / 0.5212 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3516, allocations: 11.91 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.3517, allocations: 9.75 kB / 0.5213 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3517, allocations: 5.344 kB / 0.5213 GB, free: 33.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 (13): * Single equations (assignments): 13 * 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 7.431e-05/0.3518, allocations: 132 kB / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3518, allocations: 13.66 kB / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.3518, allocations: 22.56 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3518, allocations: 2.906 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3519, allocations: 3.938 kB / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3519, allocations: 0 / 0.5214 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3523, allocations: 457 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3523, allocations: 2.938 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.3523, allocations: 18.42 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3523, allocations: 0 / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3523, allocations: 2.969 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3523, allocations: 2.875 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3524, allocations: 0.7656 kB / 0.5219 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.3528, allocations: 0.8431 MB / 0.5227 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.3528, allocations: 86.98 kB / 0.5228 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3528, allocations: 4 kB / 0.5228 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.3529, allocations: 14.66 kB / 0.5228 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3529, allocations: 9.406 kB / 0.5228 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.353, allocations: 11.11 kB / 0.5228 GB, free: 31.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3531, allocations: 175 kB / 0.523 GB, free: 31.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3531, allocations: 0 / 0.523 GB, free: 31.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.3534, allocations: 35.42 kB / 0.523 GB, free: 31.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001064/0.3545, allocations: 0.4883 MB / 0.5235 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3547, allocations: 82.5 kB / 0.5236 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3547, allocations: 2.406 kB / 0.5236 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.3548, allocations: 42.8 kB / 0.5236 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3551, allocations: 34.14 kB / 0.5237 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.3557, allocations: 459.6 kB / 0.5241 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3559, allocations: 0.7209 MB / 0.5248 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.3559, allocations: 22.78 kB / 0.5248 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.356, allocations: 22.84 kB / 0.5249 GB, free: 30.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.356, allocations: 0 / 0.5249 GB, free: 30.3 MB / 378.7 MB Notification: Performance of Templates: time 0.003854/0.3598, allocations: 1.973 MB / 0.5268 GB, free: 30.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches