Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 482 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3112, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003439/0.3147, allocations: 1.832 MB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3175, allocations: 1.699 MB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3177, allocations: 1.094 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.3181, allocations: 53.62 kB / 0.5352 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.3187, allocations: 138.4 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.319, allocations: 101.3 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.3194, allocations: 207.8 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.3194, allocations: 13.45 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3196, allocations: 85.5 kB / 0.5357 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.3199, allocations: 84.78 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.3199, allocations: 8.25 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.3202, allocations: 115.1 kB / 0.5359 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.3203, allocations: 36.09 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.3204, allocations: 66.7 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.3208, allocations: 231.5 kB / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3208, allocations: 0 / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3208, allocations: 0 / 0.5363 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3209, allocations: 0 / 0.5363 GB, free: 10.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007832/0.3216, allocations: 496.3 kB / 0.5367 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3217, allocations: 9.594 kB / 0.5367 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.3218, allocations: 21.41 kB / 0.5368 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3222, allocations: 250.1 kB / 0.537 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3223, allocations: 14.61 kB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3223, allocations: 6.344 kB / 0.537 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3225, allocations: 96.03 kB / 0.5371 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3226, allocations: 0 / 0.5371 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3226, allocations: 5.109 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.3226, allocations: 1.094 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3227, allocations: 35.89 kB / 0.5371 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.323, allocations: 217.8 kB / 0.5374 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.3233, allocations: 110 kB / 0.5375 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/0.3234, allocations: 45.39 kB / 0.5375 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3234, allocations: 6.641 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.3237, allocations: 107.2 kB / 0.5376 GB, free: 8.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.3237, allocations: 0 / 0.5376 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005049/0.3242, allocations: 168.4 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3243, allocations: 129.6 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3246, allocations: 239.8 kB / 0.5381 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3246, allocations: 27.77 kB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3247, allocations: 119 kB / 0.5383 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.3248, allocations: 28.52 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.3249, allocations: 31.17 kB / 0.5383 GB, free: 8.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.325, allocations: 331.5 kB / 0.5386 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.3251, allocations: 27.52 kB / 0.5387 GB, free: 7.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3252, allocations: 70.66 kB / 0.5387 GB, free: 7.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3254, allocations: 94.58 kB / 0.5388 GB, free: 7.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3254, allocations: 0 / 0.5388 GB, free: 7.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003327/0.3257, allocations: 141.3 kB / 0.539 GB, free: 7.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3258, allocations: 9.297 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3258, allocations: 5.094 kB / 0.539 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3258, allocations: 2.375 kB / 0.539 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3259, allocations: 16.78 kB / 0.539 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3259, allocations: 6.484 kB / 0.539 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.326, allocations: 13.25 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3261, allocations: 7.781 kB / 0.539 GB, free: 7.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001161/0.3262, allocations: 141.1 kB / 0.5391 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3262, allocations: 20.28 kB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3263, allocations: 18.8 kB / 0.5392 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3263, allocations: 1.969 kB / 0.5392 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3263, allocations: 1 kB / 0.5392 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3263, allocations: 0 / 0.5392 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.3265, allocations: 227.9 kB / 0.5394 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3266, allocations: 5.438 kB / 0.5394 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.3266, allocations: 5.812 kB / 0.5394 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3266, allocations: 1.469 kB / 0.5394 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3266, allocations: 5.359 kB / 0.5394 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3266, allocations: 9.469 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3266, allocations: 0 / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.3269, allocations: 171.8 kB / 0.5396 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.327, allocations: 102.9 kB / 0.5397 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3271, allocations: 1.531 kB / 0.5397 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.3271, allocations: 6.875 kB / 0.5397 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3272, allocations: 8.266 kB / 0.5397 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3272, allocations: 5.469 kB / 0.5397 GB, free: 6.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3274, allocations: 182.3 kB / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3274, allocations: 3.938 kB / 0.5399 GB, free: 6.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.3278, allocations: 53.06 kB / 0.5399 GB, free: 6.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00118/0.329, allocations: 497.9 kB / 0.5404 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3293, allocations: 88.17 kB / 0.5405 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3293, allocations: 0 / 0.5405 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3294, allocations: 42.83 kB / 0.5405 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3298, allocations: 66.45 kB / 0.5406 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.3304, allocations: 308.5 kB / 0.5409 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3307, allocations: 0.7155 MB / 0.5416 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.3308, allocations: 30.58 kB / 0.5416 GB, free: 5.406 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3308, allocations: 0 / 0.5416 GB, free: 5.406 MB / 398.1 MB Notification: Performance of Templates: time 0.006524/0.3374, allocations: 3.185 MB / 0.5447 GB, free: 3.758 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches