Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001479, allocations: 114.5 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 208 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.41/1.41, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 79.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3434, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003116/0.3466, allocations: 1.728 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3483, allocations: 1.02 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.058e-05/0.3484, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3487, allocations: 45.5 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.349, allocations: 95.09 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.3493, allocations: 74.92 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.3494, allocations: 106.3 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.3495, allocations: 9.5 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3497, allocations: 52.2 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.3497, allocations: 34.58 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3498, allocations: 3.938 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3499, allocations: 39.42 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.3499, allocations: 23.47 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.35, allocations: 36.3 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.3502, allocations: 127.1 kB / 0.535 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3502, allocations: 4 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3502, allocations: 1.469 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3502, allocations: 3.938 kB / 0.5351 GB, free: 11.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005425/0.3508, allocations: 415.4 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3508, allocations: 9.469 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3509, allocations: 17.44 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3511, allocations: 217.2 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3512, allocations: 1.5 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.3512, allocations: 14.75 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3513, allocations: 50.67 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3513, allocations: 0 / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3514, allocations: 4 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3514, allocations: 9.203 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.3515, allocations: 18.11 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3518, allocations: 287.5 kB / 0.5361 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.352, allocations: 58.62 kB / 0.5361 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.352, allocations: 25.72 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3521, allocations: 1.062 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.3522, allocations: 64.95 kB / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.3522, allocations: 0 / 0.5362 GB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.3528, allocations: 182.5 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.3528, allocations: 52.47 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.353, allocations: 208.6 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.353, allocations: 26.86 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.3531, allocations: 109.2 kB / 0.5368 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.3531, allocations: 23.33 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3532, allocations: 24.72 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3533, allocations: 326.9 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.3534, allocations: 27.17 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.3534, allocations: 39.61 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.3535, allocations: 66.89 kB / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3536, allocations: 0 / 0.5372 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.3538, allocations: 100.2 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3538, allocations: 7.156 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3538, allocations: 5 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3538, allocations: 1.031 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.3539, allocations: 16.73 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3539, allocations: 1.188 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.354, allocations: 2.594 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.354, allocations: 10.44 kB / 0.5374 GB, free: 8.875 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 (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 9.681e-05/0.3541, allocations: 124.6 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3541, allocations: 9.25 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.3542, allocations: 18.84 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3542, allocations: 9.203 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3542, allocations: 0 / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.3542, allocations: 95.42 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3543, allocations: 5.25 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.176e-05/0.3543, allocations: 1.375 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3543, allocations: 8.547 kB / 0.5376 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002038/0.3546, allocations: 172.6 kB / 0.5378 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002471/0.3548, allocations: 278.4 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.37e-05/0.3549, allocations: 28.64 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.355, allocations: 159.6 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.355, allocations: 0 / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3564, allocations: 486.4 kB / 0.5387 GB, free: 7.867 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007853/0.3572, allocations: 0.6769 MB / 0.5394 GB, free: 7.215 MB / 398.1 MB Notification: Performance of Templates: time 0.005181/0.3624, allocations: 1.831 MB / 0.5412 GB, free: 6.285 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches