Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002087/0.002087, 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.217/2.217, 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.001106/0.001106, allocations: 89.53 kB / 262.1 MB, free: 13.89 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.292/0.292, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.694e-05, allocations: 8 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5118, allocations: 58.85 MB / 477.1 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.6735, allocations: 86.97 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.6738, allocations: 79.23 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03553/0.7094, allocations: 5.393 MB / 0.5562 GB, free: 6.879 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7094, allocations: 7.938 kB / 0.5562 GB, free: 6.871 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.7095, allocations: 0 / 0.5562 GB, free: 6.871 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000584/0.7101, allocations: 402.2 kB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7102, allocations: 8.031 kB / 0.5566 GB, free: 6.426 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.7103, allocations: 15.81 kB / 0.5566 GB, free: 6.41 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.7107, allocations: 215.5 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.7107, allocations: 4 kB / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.7107, allocations: 4 kB / 0.5568 GB, free: 6.148 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.356e-05/0.7109, allocations: 12 kB / 0.5568 GB, free: 6.137 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.711, allocations: 57.61 kB / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.711, allocations: 0 / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.711, allocations: 0 / 0.5569 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7111, allocations: 4 kB / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.7115, allocations: 273.5 kB / 0.5571 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.7117, allocations: 46.7 kB / 0.5572 GB, free: 5.711 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.7117, allocations: 20.97 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.7118, allocations: 0 / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.7119, allocations: 67.34 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 3.957e-06/0.712, allocations: 0 / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005743/0.7125, allocations: 153.1 kB / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.7126, allocations: 63.34 kB / 0.5575 GB, free: 5.379 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.7129, allocations: 182.4 kB / 0.5576 GB, free: 5.188 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.7129, allocations: 25.7 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.713, allocations: 166.5 kB / 0.5578 GB, free: 4.992 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.7131, allocations: 23.66 kB / 0.5579 GB, free: 4.969 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.7131, allocations: 0 / 0.5579 GB, free: 4.969 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7132, allocations: 314.8 kB / 0.5582 GB, free: 4.652 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.7133, allocations: 19.98 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.7134, allocations: 33.72 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.7135, allocations: 27.97 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7135, allocations: 0 / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.7137, allocations: 81.62 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7138, allocations: 4 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7138, allocations: 0 / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7138, allocations: 4 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.714, allocations: 15.98 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-06/0.714, allocations: 4.031 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.7141, allocations: 4 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.7141, allocations: 3.953 kB / 0.5583 GB, free: 4.445 MB / 395.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 0.0001011/0.7142, allocations: 112.9 kB / 0.5585 GB, free: 4.328 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.7143, allocations: 11.81 kB / 0.5585 GB, free: 4.316 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.7146, allocations: 107.5 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7146, allocations: 0 / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7146, allocations: 0 / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.7146, allocations: 4 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.7153, allocations: 383.8 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7153, allocations: 0 / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.7154, allocations: 19.92 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.7154, allocations: 0 / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.7154, allocations: 0 / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.7155, allocations: 4.188 kB / 0.559 GB, free: 3.758 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.7155, allocations: 4 kB / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.7158, allocations: 222.1 kB / 0.5592 GB, free: 3.512 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.7159, allocations: 97 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.716, allocations: 0 / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.7161, allocations: 7.938 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.7162, allocations: 11.92 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7162, allocations: 8 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.7164, allocations: 148.9 kB / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7164, allocations: 0 / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.7168, allocations: 27.94 kB / 0.5595 GB, free: 3.199 MB / 395.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: 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 (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.001185/0.718, allocations: 384.6 kB / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.7183, allocations: 59.84 kB / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7183, allocations: 0 / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.7184, allocations: 31.94 kB / 0.5599 GB, free: 2.777 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.7188, allocations: 27.83 kB / 0.5599 GB, free: 2.75 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.7194, allocations: 199.5 kB / 0.5601 GB, free: 2.527 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.7198, allocations: 0.708 MB / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.7198, allocations: 15.44 kB / 0.5608 GB, free: 1.777 MB / 395.1 MB Notification: Performance of SimCode: time 1.783e-06/0.7199, allocations: 0 / 0.5608 GB, free: 1.777 MB / 395.1 MB Notification: Performance of Templates: time 0.006227/0.7261, allocations: 1.965 MB / 0.5628 GB, free: 15.82 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches