Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 94.81 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2244/0.2244, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 16 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1369, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.5087, allocations: 87.67 MB / 0.5644 GB, free: 12.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.509, allocations: 79.08 kB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.5233, allocations: 5.184 MB / 0.5695 GB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.388e-06/0.5233, allocations: 0 / 0.5695 GB, free: 7.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.5234, allocations: 11.94 kB / 0.5695 GB, free: 7.711 MB / 378.7 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.0005562/0.5239, allocations: 417.9 kB / 0.5699 GB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.524, allocations: 8.031 kB / 0.5699 GB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.524, allocations: 7.906 kB / 0.5699 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.5244, allocations: 206.9 kB / 0.5701 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5244, allocations: 0 / 0.5701 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.5244, allocations: 8 kB / 0.5701 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5246, allocations: 60.78 kB / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5246, allocations: 3.938 kB / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5246, allocations: 0 / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.5246, allocations: 4 kB / 0.5702 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.5247, allocations: 23.05 kB / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.5252, allocations: 287.1 kB / 0.5705 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.5253, allocations: 61.3 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.5254, allocations: 3.688 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5255, allocations: 70.39 kB / 0.5706 GB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5255, allocations: 0 / 0.5706 GB, free: 6.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005893/0.5261, allocations: 181.5 kB / 0.5708 GB, free: 6.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.5262, allocations: 55.36 kB / 0.5709 GB, free: 6.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5264, allocations: 147.8 kB / 0.571 GB, free: 6.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5264, allocations: 29.7 kB / 0.571 GB, free: 6.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.5265, allocations: 98.89 kB / 0.5711 GB, free: 5.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.5265, allocations: 27.08 kB / 0.5711 GB, free: 5.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.5265, allocations: 3.75 kB / 0.5712 GB, free: 5.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5266, allocations: 322.1 kB / 0.5715 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.5267, allocations: 18.92 kB / 0.5715 GB, free: 5.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.5268, allocations: 40.77 kB / 0.5715 GB, free: 5.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.5268, allocations: 22.94 kB / 0.5715 GB, free: 5.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5268, allocations: 4 kB / 0.5715 GB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001715/0.527, allocations: 99.38 kB / 0.5716 GB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.527, allocations: 8 kB / 0.5716 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.527, allocations: 0 / 0.5716 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5271, allocations: 3.938 kB / 0.5716 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.5272, allocations: 15.98 kB / 0.5717 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5272, allocations: 4 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.5272, allocations: 7.391 kB / 0.5717 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.5272, allocations: 4 kB / 0.5717 GB, free: 5.457 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.5273, allocations: 128.5 kB / 0.5718 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.5273, allocations: 11.81 kB / 0.5718 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.5276, allocations: 122.4 kB / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.5276, allocations: 96 / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5276, allocations: 3.938 kB / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5276, allocations: 0 / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.5281, allocations: 406.1 kB / 0.5723 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5281, allocations: 384 / 0.5723 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.5281, allocations: 11.44 kB / 0.5723 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5282, allocations: 11.92 kB / 0.5723 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5282, allocations: 4 kB / 0.5723 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5282, allocations: 3.953 kB / 0.5723 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5282, allocations: 4 kB / 0.5724 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.5284, allocations: 219.4 kB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.5285, allocations: 96.42 kB / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.5286, allocations: 7.953 kB / 0.5727 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.5286, allocations: 7.984 kB / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.5287, allocations: 0 / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5287, allocations: 7.625 kB / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.5288, allocations: 135.2 kB / 0.5728 GB, free: 4.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5288, allocations: 0 / 0.5728 GB, free: 4.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.5291, allocations: 31.62 kB / 0.5728 GB, free: 4.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.5301, allocations: 469.5 kB / 0.5733 GB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5303, allocations: 70.28 kB / 0.5733 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5303, allocations: 3.938 kB / 0.5734 GB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.5304, allocations: 34.92 kB / 0.5734 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.5307, allocations: 21.05 kB / 0.5734 GB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.5312, allocations: 218.4 kB / 0.5736 GB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5315, allocations: 0.7053 MB / 0.5743 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.5316, allocations: 12.56 kB / 0.5743 GB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.5316, allocations: 15.42 kB / 0.5743 GB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5316, allocations: 4 kB / 0.5743 GB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.004305/0.5359, allocations: 1.63 MB / 0.5759 GB, free: 1.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches