Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 112.1 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 210.8 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 87.86 kB / 482.1 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3411, allocations: 62.42 MB / 0.5317 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003616/0.3448, allocations: 1.695 MB / 0.5334 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3467, allocations: 1.003 MB / 0.5344 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3469, allocations: 1.375 kB / 0.5344 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.3473, allocations: 45.64 kB / 0.5344 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.3477, allocations: 107.1 kB / 0.5345 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.348, allocations: 73.42 kB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3482, allocations: 102.4 kB / 0.5347 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.3483, allocations: 5.797 kB / 0.5347 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.3484, allocations: 39.83 kB / 0.5347 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3485, allocations: 33.77 kB / 0.5348 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3486, allocations: 2.781 kB / 0.5348 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3487, allocations: 32.56 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.3489, allocations: 30.88 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.349, allocations: 40.3 kB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3493, allocations: 128.9 kB / 0.535 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3493, allocations: 4 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3493, allocations: 1.094 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3493, allocations: 0 / 0.535 GB, free: 11.32 MB / 398.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.000727/0.35, allocations: 437.6 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3501, allocations: 9.281 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.3502, allocations: 15.62 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3506, allocations: 222.9 kB / 0.5356 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3507, allocations: 1.531 kB / 0.5356 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3507, allocations: 10.28 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3508, allocations: 51.36 kB / 0.5357 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3509, allocations: 3.984 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3509, allocations: 3.938 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3509, allocations: 1.094 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.351, allocations: 11.91 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.3513, allocations: 188.9 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3515, allocations: 62.58 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.3515, allocations: 20.83 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3516, allocations: 5.062 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.3518, allocations: 67.89 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.3518, allocations: 1.156 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003466/0.3521, allocations: 104.4 kB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3522, allocations: 52.38 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.3525, allocations: 271.4 kB / 0.5365 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3525, allocations: 25.7 kB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.3526, allocations: 111.7 kB / 0.5366 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3527, allocations: 18.19 kB / 0.5366 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.3527, allocations: 23.36 kB / 0.5366 GB, free: 9.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3528, allocations: 323.5 kB / 0.5369 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.3529, allocations: 15.97 kB / 0.537 GB, free: 9.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.353, allocations: 34.83 kB / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3531, allocations: 40.17 kB / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3531, allocations: 0 / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001914/0.3533, allocations: 97.25 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3533, allocations: 5.75 kB / 0.5371 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3533, allocations: 4.031 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3534, allocations: 1.562 kB / 0.5371 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.3534, allocations: 13.02 kB / 0.5371 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3535, allocations: 0 / 0.5371 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.3535, allocations: 6.641 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3535, allocations: 2.594 kB / 0.5372 GB, free: 9.262 MB / 398.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.0001207/0.3537, allocations: 136.4 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.3537, allocations: 18.31 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.3538, allocations: 20.61 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3538, allocations: 7.938 kB / 0.5373 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3538, allocations: 1 kB / 0.5373 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3538, allocations: 84.34 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3539, allocations: 1.031 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.3539, allocations: 5.172 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.354, allocations: 2.219 kB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002122/0.3542, allocations: 156.9 kB / 0.5376 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002629/0.3545, allocations: 265.6 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.323e-05/0.3545, allocations: 20.7 kB / 0.5378 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.3548, allocations: 203.5 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of Backend: time 5.72e-07/0.3548, allocations: 0 / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.3563, allocations: 433.1 kB / 0.5384 GB, free: 8.277 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009537/0.3572, allocations: 0.7069 MB / 0.5391 GB, free: 7.613 MB / 398.1 MB Notification: Performance of Templates: time 0.005409/0.3627, allocations: 1.575 MB / 0.5407 GB, free: 6.812 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches