Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002174/0.002174, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 97.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2946/0.2946, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.952e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5586, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.7408, allocations: 87.95 MB / 0.5518 GB, free: 11.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.7412, allocations: 75.95 kB / 0.5519 GB, free: 11.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.7601, allocations: 4.218 MB / 0.556 GB, free: 7.062 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7601, allocations: 0 / 0.556 GB, free: 7.062 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.7601, allocations: 4.547 kB / 0.556 GB, free: 7.059 MB / 395.1 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.0007522/0.7609, allocations: 456 kB / 0.5564 GB, free: 6.562 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.761, allocations: 8.031 kB / 0.5564 GB, free: 6.555 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.761, allocations: 11.91 kB / 0.5565 GB, free: 6.543 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.7615, allocations: 234.7 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.7616, allocations: 4 kB / 0.5567 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.7616, allocations: 7.984 kB / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001456/0.7618, allocations: 24 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.762, allocations: 100.2 kB / 0.5568 GB, free: 6.125 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.762, allocations: 4 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.762, allocations: 0 / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7621, allocations: 4 kB / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.7629, allocations: 0.4897 MB / 0.5573 GB, free: 5.582 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.7632, allocations: 70.69 kB / 0.5574 GB, free: 5.504 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.7633, allocations: 28.86 kB / 0.5574 GB, free: 5.473 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.7634, allocations: 0 / 0.5574 GB, free: 5.473 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.7636, allocations: 91.25 kB / 0.5575 GB, free: 5.371 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.7636, allocations: 0 / 0.5575 GB, free: 5.371 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003269/0.7639, allocations: 93.45 kB / 0.5576 GB, free: 5.273 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.764, allocations: 59.39 kB / 0.5576 GB, free: 5.203 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.7642, allocations: 166.8 kB / 0.5578 GB, free: 5.023 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.7643, allocations: 25.7 kB / 0.5578 GB, free: 4.992 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.7644, allocations: 174.5 kB / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.7645, allocations: 35.48 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.7645, allocations: 0 / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7647, allocations: 318.8 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.7648, allocations: 27.92 kB / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.7649, allocations: 52.3 kB / 0.5584 GB, free: 4.371 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.765, allocations: 27.98 kB / 0.5584 GB, free: 4.344 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.765, allocations: 4 kB / 0.5584 GB, free: 4.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002794/0.7653, allocations: 101.5 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.7653, allocations: 8 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7654, allocations: 0 / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.7654, allocations: 4 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.7656, allocations: 31.92 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.7656, allocations: 7.953 kB / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.7658, allocations: 12.06 kB / 0.5586 GB, free: 4.172 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.7658, allocations: 8.172 kB / 0.5586 GB, free: 4.164 MB / 395.1 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 () * 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.0001164/0.7659, allocations: 108.2 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.766, allocations: 19.75 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.7664, allocations: 111.4 kB / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7664, allocations: 0 / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7664, allocations: 0 / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.7664, allocations: 3.953 kB / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.7667, allocations: 186.2 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7667, allocations: 4 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.7669, allocations: 15.98 kB / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.7669, allocations: 7.922 kB / 0.559 GB, free: 3.676 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.7669, allocations: 4 kB / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.767, allocations: 0 / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.767, allocations: 0 / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.7674, allocations: 168.8 kB / 0.5592 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.7675, allocations: 92.89 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.7675, allocations: 8.062 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.7677, allocations: 7.984 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.7677, allocations: 11.98 kB / 0.5593 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.7678, allocations: 4 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.768, allocations: 124.1 kB / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.768, allocations: 0 / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.7683, allocations: 40.05 kB / 0.5595 GB, free: 3.188 MB / 395.1 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) * 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.001102/0.7695, allocations: 346.4 kB / 0.5598 GB, free: 2.879 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.7698, allocations: 67.86 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7698, allocations: 0 / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.7699, allocations: 28 kB / 0.5599 GB, free: 2.785 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.7704, allocations: 48.2 kB / 0.5599 GB, free: 2.734 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.7711, allocations: 208.9 kB / 0.5601 GB, free: 2.5 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.7715, allocations: 0.72 MB / 0.5608 GB, free: 1.754 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.7716, allocations: 19.8 kB / 0.5608 GB, free: 1.734 MB / 395.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7716, allocations: 0 / 0.5608 GB, free: 1.734 MB / 395.1 MB Notification: Performance of Templates: time 0.006783/0.7784, allocations: 2.156 MB / 0.563 GB, free: 15.58 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches