Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, 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.213/0.213, allocations: 46.09 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.88 kB / 482.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3193, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002682/0.322, allocations: 1.729 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3235, allocations: 1.03 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.3236, allocations: 0 / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3238, allocations: 32.92 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3241, allocations: 91.44 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3243, allocations: 82.91 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3245, allocations: 100.9 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.3246, allocations: 14.88 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.628e-05/0.3247, allocations: 48.27 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.3248, allocations: 34.73 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3248, allocations: 2.75 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.3249, allocations: 40.86 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.325, allocations: 21.41 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.325, allocations: 28.06 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3252, allocations: 119.4 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3252, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3252, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3252, allocations: 4 kB / 0.535 GB, free: 11.06 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.000493/0.3257, allocations: 409.6 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3258, allocations: 8.25 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.3258, allocations: 12.91 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3261, allocations: 214.2 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3261, allocations: 5.734 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3261, allocations: 6.875 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3263, allocations: 54.05 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3263, allocations: 4 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3263, allocations: 1.375 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3263, allocations: 0 / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.3264, allocations: 26.92 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.3268, allocations: 285.4 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.3269, allocations: 57.92 kB / 0.5361 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.327, allocations: 17.11 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.327, allocations: 1.375 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.3272, allocations: 77.06 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3272, allocations: 0 / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.3277, allocations: 173.4 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3277, allocations: 56.69 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3279, allocations: 172.7 kB / 0.5365 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3279, allocations: 26.86 kB / 0.5366 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.328, allocations: 96.7 kB / 0.5367 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.328, allocations: 27.16 kB / 0.5367 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3281, allocations: 20.34 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3282, allocations: 330.5 kB / 0.537 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.3283, allocations: 18.05 kB / 0.537 GB, free: 9.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.3283, allocations: 39.67 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3285, allocations: 63.02 kB / 0.5371 GB, free: 9.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3285, allocations: 5.062 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.3287, allocations: 90.62 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3287, allocations: 5.594 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3287, allocations: 0 / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3287, allocations: 1.156 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.3288, allocations: 25.86 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3288, allocations: 1.094 kB / 0.5373 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.3289, allocations: 5.188 kB / 0.5373 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3289, allocations: 7.25 kB / 0.5373 GB, free: 8.93 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 0.000109/0.329, allocations: 124.5 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.329, allocations: 13.38 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.3291, allocations: 17.41 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3291, allocations: 3.938 kB / 0.5374 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3291, allocations: 4 kB / 0.5374 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3292, allocations: 88.5 kB / 0.5375 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3292, allocations: 5.062 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.3292, allocations: 1.125 kB / 0.5375 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3293, allocations: 7.266 kB / 0.5375 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002244/0.3295, allocations: 181.3 kB / 0.5377 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002355/0.3297, allocations: 273.5 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.903e-05/0.3298, allocations: 25.64 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3299, allocations: 133 kB / 0.5381 GB, free: 8.168 MB / 398.1 MB Notification: Performance of Backend: time 2.4e-07/0.33, allocations: 3.938 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.3314, allocations: 483.3 kB / 0.5386 GB, free: 7.938 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006299/0.332, allocations: 0.6528 MB / 0.5392 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Templates: time 0.004792/0.3368, allocations: 1.768 MB / 0.5409 GB, free: 6.406 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches