Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002241/0.00224, allocations: 184 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 93.7 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5292/0.5292, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004771, allocations: 20 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5843, allocations: 87.7 MB / 0.5644 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5847, allocations: 75.94 kB / 0.5645 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02526/0.6099, allocations: 5.698 MB / 0.57 GB, free: 9.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.61, allocations: 4 kB / 0.57 GB, free: 9.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.61, allocations: 8.547 kB / 0.57 GB, free: 9.289 MB / 394.7 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.0007052/0.6107, allocations: 442.1 kB / 0.5705 GB, free: 8.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.6108, allocations: 12.02 kB / 0.5705 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.6109, allocations: 15.25 kB / 0.5705 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6113, allocations: 228.9 kB / 0.5707 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.6113, allocations: 0 / 0.5707 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.6114, allocations: 8 kB / 0.5707 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.6116, allocations: 53.67 kB / 0.5708 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6116, allocations: 0 / 0.5708 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.6116, allocations: 4 kB / 0.5708 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.6116, allocations: 7.938 kB / 0.5708 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.6118, allocations: 19.92 kB / 0.5708 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.6123, allocations: 312.8 kB / 0.5711 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.6126, allocations: 66.61 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.6126, allocations: 3.938 kB / 0.5712 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.6128, allocations: 75.5 kB / 0.5712 GB, free: 7.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.6129, allocations: 0 / 0.5712 GB, free: 7.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007955/0.6137, allocations: 189 kB / 0.5714 GB, free: 7.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.6137, allocations: 59.36 kB / 0.5715 GB, free: 7.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.6141, allocations: 241.7 kB / 0.5717 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.6142, allocations: 25.7 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.6143, allocations: 166.6 kB / 0.5719 GB, free: 7.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.6143, allocations: 23.66 kB / 0.5719 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.6144, allocations: 4 kB / 0.5719 GB, free: 7.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6145, allocations: 318.8 kB / 0.5722 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.6146, allocations: 16 kB / 0.5722 GB, free: 6.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.6147, allocations: 41.7 kB / 0.5723 GB, free: 6.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.6149, allocations: 23.98 kB / 0.5723 GB, free: 6.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6149, allocations: 3.938 kB / 0.5723 GB, free: 6.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003148/0.6152, allocations: 93.67 kB / 0.5724 GB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6152, allocations: 4 kB / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6153, allocations: 4 kB / 0.5724 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6153, allocations: 0 / 0.5724 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6154, allocations: 15.94 kB / 0.5724 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.6154, allocations: 32 / 0.5724 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.6156, allocations: 16.97 kB / 0.5724 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.6156, allocations: 4 kB / 0.5724 GB, free: 6.633 MB / 394.7 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 () * Number of clocked 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.0001557/0.6157, allocations: 133.8 kB / 0.5725 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.6158, allocations: 11.81 kB / 0.5726 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.6162, allocations: 123 kB / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6162, allocations: 288 / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6162, allocations: 0 / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6162, allocations: 8 kB / 0.5727 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.617, allocations: 447.1 kB / 0.5731 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.6171, allocations: 0 / 0.5731 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.6171, allocations: 8 kB / 0.5731 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6172, allocations: 7.984 kB / 0.5731 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6172, allocations: 0 / 0.5731 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.6172, allocations: 3.953 kB / 0.5731 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6172, allocations: 3.938 kB / 0.5731 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.6176, allocations: 225.9 kB / 0.5733 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6177, allocations: 100.9 kB / 0.5734 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.6178, allocations: 7.953 kB / 0.5735 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.6179, allocations: 8 kB / 0.5735 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.618, allocations: 7.922 kB / 0.5735 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.618, allocations: 8.375 kB / 0.5735 GB, free: 5.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000303/0.6183, allocations: 200.2 kB / 0.5737 GB, free: 5.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6183, allocations: 0 / 0.5737 GB, free: 5.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.6187, allocations: 39.94 kB / 0.5737 GB, free: 5.203 MB / 394.7 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) * Number of clocked states: 0 () * 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.001382/0.6201, allocations: 481.7 kB / 0.5742 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.6204, allocations: 59.92 kB / 0.5742 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6204, allocations: 0 / 0.5742 GB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.6206, allocations: 43.84 kB / 0.5743 GB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.621, allocations: 28.52 kB / 0.5743 GB, free: 4.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.6218, allocations: 351 kB / 0.5746 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.6222, allocations: 0.7199 MB / 0.5753 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.6223, allocations: 23.44 kB / 0.5753 GB, free: 3.559 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6223, allocations: 0 / 0.5753 GB, free: 3.559 MB / 394.7 MB Notification: Performance of Templates: time 0.005968/0.6283, allocations: 2.134 MB / 0.5774 GB, free: 1.43 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches