Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001388, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 75.88 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3413, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002552/0.3438, allocations: 1.699 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3453, allocations: 0.9986 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.3453, allocations: 0 / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3456, allocations: 68.44 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.3459, allocations: 108.9 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3461, allocations: 69.91 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3462, allocations: 107.5 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.3463, allocations: 5.016 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.3464, allocations: 51.3 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.3465, allocations: 45.05 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3465, allocations: 3.188 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.3466, allocations: 28.28 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.3466, allocations: 22.84 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.3467, allocations: 39.92 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3469, allocations: 108.2 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3469, allocations: 1.062 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3469, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3469, allocations: 0 / 0.535 GB, free: 11.07 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.0004622/0.3474, allocations: 409.6 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3474, allocations: 11.88 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3475, allocations: 10.62 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3477, allocations: 212 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3477, allocations: 5.688 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3477, allocations: 5.219 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3479, allocations: 52.11 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3479, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3479, allocations: 0 / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3479, allocations: 1.156 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.348, allocations: 15.8 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3482, allocations: 179.5 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3483, allocations: 54.41 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3484, allocations: 25.5 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3484, allocations: 0.9062 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3486, allocations: 68.48 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3486, allocations: 0 / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002594/0.3489, allocations: 100.1 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.3489, allocations: 55.39 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3491, allocations: 188.1 kB / 0.5363 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3491, allocations: 35.06 kB / 0.5364 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.3491, allocations: 100.2 kB / 0.5365 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3492, allocations: 26.48 kB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3492, allocations: 15.22 kB / 0.5365 GB, free: 9.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3493, allocations: 325.6 kB / 0.5368 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.3494, allocations: 16.25 kB / 0.5368 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.3494, allocations: 27.33 kB / 0.5368 GB, free: 9.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.3496, allocations: 51.77 kB / 0.5369 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3496, allocations: 0 / 0.5369 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001521/0.3497, allocations: 80.03 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3497, allocations: 5.094 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.3498, allocations: 9.391 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3498, allocations: 0 / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.3498, allocations: 17.17 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3499, allocations: 5.375 kB / 0.537 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.3499, allocations: 6.656 kB / 0.537 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3499, allocations: 1.031 kB / 0.537 GB, free: 9.094 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 8.464e-05/0.35, allocations: 122.8 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.35, allocations: 16.66 kB / 0.5371 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.3501, allocations: 17.47 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3501, allocations: 1.281 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3501, allocations: 0 / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3501, allocations: 87.53 kB / 0.5372 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3502, allocations: 5.219 kB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.3502, allocations: 1.469 kB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.3502, allocations: 2.625 kB / 0.5373 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001944/0.3504, allocations: 160.4 kB / 0.5374 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002173/0.3507, allocations: 255.2 kB / 0.5377 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.311e-05/0.3507, allocations: 17.48 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3509, allocations: 152.9 kB / 0.5378 GB, free: 8.352 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.3509, allocations: 0 / 0.5378 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3521, allocations: 414.3 kB / 0.5382 GB, free: 8.152 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007284/0.3528, allocations: 0.6676 MB / 0.5389 GB, free: 7.496 MB / 398.1 MB Notification: Performance of Templates: time 0.003987/0.3568, allocations: 1.562 MB / 0.5404 GB, free: 6.699 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches