Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 176.7 kB / 16.77 MB, free: 5.047 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.683/1.683, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0009742/0.0009743, allocations: 89.05 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3626/0.3626, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003825, allocations: 20 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2898/0.421, allocations: 88.75 MB / 0.5666 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4212, allocations: 79.95 kB / 0.5667 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.4329, allocations: 4.257 MB / 0.5709 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4329, allocations: 0 / 0.5709 GB, free: 8.777 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.433, allocations: 11.66 kB / 0.5709 GB, free: 8.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005827/0.4335, allocations: 481.8 kB / 0.5713 GB, free: 8.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4336, allocations: 12.03 kB / 0.5713 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4336, allocations: 12.75 kB / 0.5714 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.434, allocations: 239.8 kB / 0.5716 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.434, allocations: 8.359 kB / 0.5716 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.434, allocations: 12.38 kB / 0.5716 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.4342, allocations: 105.5 kB / 0.5717 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4343, allocations: 192 / 0.5717 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4343, allocations: 11.94 kB / 0.5717 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4343, allocations: 0 / 0.5717 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.4344, allocations: 59.91 kB / 0.5718 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.435, allocations: 0.5087 MB / 0.5723 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.4353, allocations: 93.72 kB / 0.5724 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.4354, allocations: 40.84 kB / 0.5724 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.4354, allocations: 0 / 0.5724 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.4356, allocations: 95.3 kB / 0.5725 GB, free: 6.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.4356, allocations: 0 / 0.5725 GB, free: 6.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000369/0.436, allocations: 145.5 kB / 0.5726 GB, free: 6.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.436, allocations: 51.41 kB / 0.5727 GB, free: 6.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4362, allocations: 199.4 kB / 0.5729 GB, free: 6.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4362, allocations: 25.7 kB / 0.5729 GB, free: 6.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.4363, allocations: 124 kB / 0.573 GB, free: 6.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.4363, allocations: 27.64 kB / 0.573 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4364, allocations: 0 / 0.573 GB, free: 6.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4365, allocations: 331.5 kB / 0.5734 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4366, allocations: 35.97 kB / 0.5734 GB, free: 5.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.713e-05/0.4367, allocations: 66.81 kB / 0.5735 GB, free: 5.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4369, allocations: 120.5 kB / 0.5736 GB, free: 5.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4369, allocations: 0 / 0.5736 GB, free: 5.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002567/0.4372, allocations: 145.3 kB / 0.5737 GB, free: 5.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4372, allocations: 4 kB / 0.5737 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4372, allocations: 3.984 kB / 0.5737 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4372, allocations: 8.125 kB / 0.5737 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.4373, allocations: 20 kB / 0.5737 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4373, allocations: 3.984 kB / 0.5737 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.4374, allocations: 11.91 kB / 0.5738 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4374, allocations: 11.94 kB / 0.5738 GB, free: 5.535 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4375, allocations: 121.8 kB / 0.5739 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.4376, allocations: 19.8 kB / 0.5739 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.4378, allocations: 139 kB / 0.574 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4379, allocations: 0 / 0.574 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4379, allocations: 0 / 0.574 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4379, allocations: 0 / 0.574 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.438, allocations: 221.5 kB / 0.5742 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4381, allocations: 0 / 0.5742 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.4381, allocations: 12 kB / 0.5743 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4381, allocations: 0 / 0.5743 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4382, allocations: 8 kB / 0.5743 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4382, allocations: 4 kB / 0.5743 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4382, allocations: 0 / 0.5743 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.4385, allocations: 201.9 kB / 0.5745 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.4386, allocations: 93.03 kB / 0.5746 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.4386, allocations: 4.562 kB / 0.5746 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.4387, allocations: 8 kB / 0.5746 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.4387, allocations: 11.92 kB / 0.5746 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.4388, allocations: 8 kB / 0.5746 GB, free: 4.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.4389, allocations: 145.1 kB / 0.5747 GB, free: 4.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4389, allocations: 0 / 0.5747 GB, free: 4.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.4391, allocations: 43.95 kB / 0.5748 GB, free: 4.422 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008224/0.44, allocations: 427 kB / 0.5752 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.4402, allocations: 91.83 kB / 0.5753 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4402, allocations: 0 / 0.5753 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.4403, allocations: 43.92 kB / 0.5753 GB, free: 3.961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4406, allocations: 36.22 kB / 0.5753 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.4411, allocations: 304.1 kB / 0.5756 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.4414, allocations: 0.7126 MB / 0.5763 GB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.718e-05/0.4415, allocations: 17.08 kB / 0.5763 GB, free: 2.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.4415, allocations: 15.44 kB / 0.5763 GB, free: 2.848 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4415, allocations: 0 / 0.5763 GB, free: 2.848 MB / 394.7 MB Notification: Performance of Templates: time 0.004081/0.4456, allocations: 1.808 MB / 0.5781 GB, free: 1.051 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches