Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002764/0.002769, allocations: 179.4 kB / 8.364 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.257/2.257, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001075/0.001075, allocations: 88.94 kB / 262.1 MB, free: 13.87 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.2964/0.2964, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.938e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4247, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.5918, allocations: 87.95 MB / 0.5518 GB, free: 11.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5922, allocations: 67.97 kB / 0.5519 GB, free: 11.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.6111, allocations: 4.226 MB / 0.556 GB, free: 7.055 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6112, allocations: 0 / 0.556 GB, free: 7.055 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.6112, allocations: 0.5469 kB / 0.556 GB, free: 7.055 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.0007259/0.6119, allocations: 463.9 kB / 0.5564 GB, free: 6.551 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.612, allocations: 8.031 kB / 0.5564 GB, free: 6.543 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.6121, allocations: 11.91 kB / 0.5565 GB, free: 6.531 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.6125, allocations: 234.6 kB / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.6126, allocations: 4 kB / 0.5567 GB, free: 6.258 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.6126, allocations: 4 kB / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001435/0.6128, allocations: 35.98 kB / 0.5567 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.613, allocations: 88.25 kB / 0.5568 GB, free: 6.117 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.613, allocations: 3.938 kB / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.613, allocations: 0 / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.613, allocations: 0 / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.6138, allocations: 0.4898 MB / 0.5573 GB, free: 5.578 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.6142, allocations: 78.62 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.6143, allocations: 32.84 kB / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.6144, allocations: 0 / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.6146, allocations: 75.39 kB / 0.5575 GB, free: 5.371 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.6146, allocations: 4 kB / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003281/0.6149, allocations: 109.3 kB / 0.5576 GB, free: 5.254 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.615, allocations: 55.41 kB / 0.5576 GB, free: 5.188 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.6152, allocations: 162.6 kB / 0.5578 GB, free: 5.012 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.6153, allocations: 29.7 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.6154, allocations: 174.6 kB / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.6155, allocations: 35.55 kB / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.6155, allocations: 0 / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6156, allocations: 314.8 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.6157, allocations: 23.94 kB / 0.5583 GB, free: 4.43 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.6158, allocations: 64.22 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.6159, allocations: 23.98 kB / 0.5584 GB, free: 4.328 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6159, allocations: 4 kB / 0.5584 GB, free: 4.324 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002659/0.6162, allocations: 101.5 kB / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6163, allocations: 16.11 kB / 0.5585 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6163, allocations: 0 / 0.5585 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6163, allocations: 0 / 0.5585 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.6165, allocations: 23.98 kB / 0.5586 GB, free: 4.18 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6165, allocations: 7.953 kB / 0.5586 GB, free: 4.172 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.6167, allocations: 7.938 kB / 0.5586 GB, free: 4.164 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.6167, allocations: 7.938 kB / 0.5586 GB, free: 4.156 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.0001151/0.6168, allocations: 112.2 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.6169, allocations: 19.81 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.6172, allocations: 119.5 kB / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6172, allocations: 0 / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6172, allocations: 0 / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6173, allocations: 7.938 kB / 0.5588 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.6175, allocations: 182.2 kB / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6175, allocations: 0 / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.6177, allocations: 12 kB / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6177, allocations: 0 / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.6177, allocations: 3.984 kB / 0.559 GB, free: 3.668 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6177, allocations: 4 kB / 0.559 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6178, allocations: 4 kB / 0.559 GB, free: 3.66 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.6181, allocations: 164.8 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.6183, allocations: 100.9 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.6184, allocations: 0 / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6185, allocations: 11.98 kB / 0.5593 GB, free: 3.352 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.6186, allocations: 8.062 kB / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.6186, allocations: 3.938 kB / 0.5593 GB, free: 3.34 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.6188, allocations: 136.1 kB / 0.5594 GB, free: 3.207 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6188, allocations: 0 / 0.5594 GB, free: 3.207 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000359/0.6191, allocations: 32.06 kB / 0.5595 GB, free: 3.176 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.001036/0.6202, allocations: 359.8 kB / 0.5598 GB, free: 2.859 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.6204, allocations: 63.94 kB / 0.5599 GB, free: 2.797 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6205, allocations: 0 / 0.5599 GB, free: 2.797 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.6206, allocations: 35.92 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.621, allocations: 35.98 kB / 0.5599 GB, free: 2.723 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.6216, allocations: 204.9 kB / 0.5601 GB, free: 2.492 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6219, allocations: 0.7281 MB / 0.5608 GB, free: 1.738 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.622, allocations: 15.44 kB / 0.5609 GB, free: 1.723 MB / 395.1 MB Notification: Performance of SimCode: time 1.123e-06/0.622, allocations: 0 / 0.5609 GB, free: 1.723 MB / 395.1 MB Notification: Performance of Templates: time 0.006172/0.6282, allocations: 2.152 MB / 0.563 GB, free: 15.57 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches