Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002322/0.002322, 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.036/2.036, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001104/0.001104, allocations: 96.83 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.2949/0.2949, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.638e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4267, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5913, allocations: 87 MB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5916, allocations: 79.45 kB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.6159, allocations: 5.516 MB / 0.5563 GB, free: 6.727 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.616, allocations: 3.938 kB / 0.5563 GB, free: 6.723 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.616, allocations: 8 kB / 0.5563 GB, free: 6.715 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007313/0.6167, allocations: 430.1 kB / 0.5568 GB, free: 6.25 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6168, allocations: 15.97 kB / 0.5568 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.6169, allocations: 15.81 kB / 0.5568 GB, free: 6.219 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.6174, allocations: 242.7 kB / 0.557 GB, free: 5.941 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.6175, allocations: 3.984 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.6175, allocations: 4 kB / 0.557 GB, free: 5.934 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/0.6176, allocations: 31.92 kB / 0.5571 GB, free: 5.902 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.6178, allocations: 93.03 kB / 0.5571 GB, free: 5.793 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.6179, allocations: 4 kB / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.6179, allocations: 0 / 0.5571 GB, free: 5.789 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.6179, allocations: 7.938 kB / 0.5572 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.6182, allocations: 191.1 kB / 0.5573 GB, free: 5.555 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.6184, allocations: 97.28 kB / 0.5574 GB, free: 5.441 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.6186, allocations: 37.8 kB / 0.5575 GB, free: 5.398 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.6186, allocations: 4 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.6188, allocations: 93.09 kB / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.6189, allocations: 0 / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004112/0.6193, allocations: 129.4 kB / 0.5577 GB, free: 5.152 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.6194, allocations: 136.5 kB / 0.5578 GB, free: 4.988 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.6197, allocations: 199 kB / 0.558 GB, free: 4.785 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.6197, allocations: 25.7 kB / 0.558 GB, free: 4.754 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.6198, allocations: 166.6 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.6199, allocations: 31.64 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.6199, allocations: 0 / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6201, allocations: 314.8 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.6202, allocations: 20 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.6203, allocations: 74.45 kB / 0.5586 GB, free: 4.133 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.6204, allocations: 36.06 kB / 0.5586 GB, free: 4.098 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6205, allocations: 0 / 0.5586 GB, free: 4.098 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002809/0.6207, allocations: 105.6 kB / 0.5587 GB, free: 3.988 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6208, allocations: 12.09 kB / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.6208, allocations: 0 / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6208, allocations: 0 / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.621, allocations: 23.98 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6211, allocations: 3.938 kB / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.6212, allocations: 11.89 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.6212, allocations: 4 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001178/0.6214, allocations: 116.9 kB / 0.5589 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.6214, allocations: 23.8 kB / 0.5589 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.6218, allocations: 143.1 kB / 0.5591 GB, free: 3.641 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6218, allocations: 4 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6219, allocations: 3.984 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6219, allocations: 3.938 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.6221, allocations: 198 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6221, allocations: 0 / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.96e-05/0.6222, allocations: 15.98 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6223, allocations: 4.203 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.6223, allocations: 7.938 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6223, allocations: 8 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6223, allocations: 0 / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.6227, allocations: 171.4 kB / 0.5595 GB, free: 3.168 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6228, allocations: 104.9 kB / 0.5596 GB, free: 3.047 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.6229, allocations: 7.984 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.623, allocations: 8 kB / 0.5596 GB, free: 3.031 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.6231, allocations: 11.98 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.6231, allocations: 4 kB / 0.5596 GB, free: 3.016 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.6233, allocations: 153.5 kB / 0.5597 GB, free: 2.867 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6233, allocations: 0 / 0.5597 GB, free: 2.867 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.6237, allocations: 47.86 kB / 0.5598 GB, free: 2.82 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001204/0.625, allocations: 388.6 kB / 0.5602 GB, free: 2.488 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.6252, allocations: 75.92 kB / 0.5602 GB, free: 2.414 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6253, allocations: 0 / 0.5602 GB, free: 2.414 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.6254, allocations: 36 kB / 0.5603 GB, free: 2.379 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.6259, allocations: 55.86 kB / 0.5603 GB, free: 2.324 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.6265, allocations: 228.1 kB / 0.5605 GB, free: 2.066 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.6268, allocations: 0.7163 MB / 0.5612 GB, free: 1.324 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.627, allocations: 27.42 kB / 0.5613 GB, free: 1.297 MB / 395.1 MB Notification: Performance of SimCode: time 7.72e-07/0.627, allocations: 3.938 kB / 0.5613 GB, free: 1.293 MB / 395.1 MB Notification: Performance of Templates: time 0.007359/0.6343, allocations: 2.713 MB / 0.5639 GB, free: 14.59 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches