Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002312/0.002312, 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.313/2.313, 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.00109/0.001089, allocations: 100.3 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.2942/0.2942, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.05e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5763, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.5766, allocations: 79.47 kB / 0.5509 GB, free: 12.26 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.6018, allocations: 5.341 MB / 0.5561 GB, free: 6.926 MB / 395.1 MB Notification: Performance of FrontEnd: time 5.42e-06/0.6019, allocations: 0 / 0.5561 GB, free: 6.926 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.6019, allocations: 7.938 kB / 0.5561 GB, free: 6.918 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.0005811/0.6025, allocations: 386.3 kB / 0.5565 GB, free: 6.496 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6026, allocations: 11.97 kB / 0.5565 GB, free: 6.484 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.6026, allocations: 7.906 kB / 0.5565 GB, free: 6.477 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.603, allocations: 221.6 kB / 0.5567 GB, free: 6.223 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.6031, allocations: 0 / 0.5567 GB, free: 6.223 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.6031, allocations: 8 kB / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.6032, allocations: 19.98 kB / 0.5568 GB, free: 6.195 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.6034, allocations: 45.67 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6034, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.6034, allocations: 4 kB / 0.5568 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.6034, allocations: 0 / 0.5568 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.6039, allocations: 269.4 kB / 0.5571 GB, free: 5.84 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.6041, allocations: 54.69 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.6041, allocations: 16.98 kB / 0.5571 GB, free: 5.758 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6042, allocations: 0 / 0.5571 GB, free: 5.758 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.6043, allocations: 63.39 kB / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.769e-06/0.6044, allocations: 0 / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.605, allocations: 153.1 kB / 0.5573 GB, free: 5.527 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.605, allocations: 59.34 kB / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.6053, allocations: 170.2 kB / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.6053, allocations: 25.7 kB / 0.5576 GB, free: 5.254 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.6054, allocations: 166.5 kB / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.6055, allocations: 15.72 kB / 0.5578 GB, free: 5.074 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.6055, allocations: 4 kB / 0.5578 GB, free: 5.07 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6056, allocations: 318.8 kB / 0.5581 GB, free: 4.75 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.6057, allocations: 19.94 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.6058, allocations: 33.72 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.362e-05/0.6059, allocations: 19.98 kB / 0.5581 GB, free: 4.672 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6059, allocations: 0 / 0.5581 GB, free: 4.672 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002201/0.6061, allocations: 85.59 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6062, allocations: 4 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6062, allocations: 0 / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.6062, allocations: 4 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6064, allocations: 19.92 kB / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6064, allocations: 4.031 kB / 0.5582 GB, free: 4.551 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.6065, allocations: 4.188 kB / 0.5582 GB, free: 4.547 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.6065, allocations: 11.95 kB / 0.5583 GB, free: 4.535 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 9.767e-05/0.6066, allocations: 101 kB / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.6067, allocations: 11.91 kB / 0.5584 GB, free: 4.418 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.607, allocations: 114.3 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.607, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.607, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6071, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.6077, allocations: 391.7 kB / 0.5588 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6077, allocations: 0 / 0.5588 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.6078, allocations: 8 kB / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6079, allocations: 0 / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.6079, allocations: 11.98 kB / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6079, allocations: 0 / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6079, allocations: 0 / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.6082, allocations: 218.2 kB / 0.5591 GB, free: 3.613 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.6083, allocations: 93 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.6084, allocations: 7.984 kB / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.6085, allocations: 4 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.6086, allocations: 11.89 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.6086, allocations: 3.984 kB / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.6088, allocations: 148 kB / 0.5593 GB, free: 3.332 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6088, allocations: 0 / 0.5593 GB, free: 3.332 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.6092, allocations: 35.89 kB / 0.5594 GB, free: 3.297 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.001174/0.6104, allocations: 385.6 kB / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.6106, allocations: 55.86 kB / 0.5598 GB, free: 2.91 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6107, allocations: 0 / 0.5598 GB, free: 2.91 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.6108, allocations: 31.98 kB / 0.5598 GB, free: 2.879 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.6112, allocations: 23.84 kB / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.6118, allocations: 199 kB / 0.56 GB, free: 2.621 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.6121, allocations: 0.708 MB / 0.5607 GB, free: 1.887 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.6122, allocations: 19.42 kB / 0.5607 GB, free: 1.867 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6122, allocations: 0 / 0.5607 GB, free: 1.867 MB / 395.1 MB Notification: Performance of Templates: time 0.005857/0.6181, allocations: 1.917 MB / 0.5626 GB, free: 15.96 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches