Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009237/0.0009241, allocations: 176.2 kB / 16.77 MB, free: 5.051 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.6/1.6, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0008882/0.0008885, allocations: 90.41 kB / 271.3 MB, free: 8.25 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.4062/0.4062, allocations: 43.56 MB / 363.1 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004044, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5654, allocations: 87.87 MB / 0.5658 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5657, allocations: 71.97 kB / 0.5658 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02107/0.5868, allocations: 7.529 MB / 0.5732 GB, free: 6.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.257e-06/0.5868, allocations: 7.938 kB / 0.5732 GB, free: 6.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.5868, allocations: 4 kB / 0.5732 GB, free: 6.559 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007757/0.5876, allocations: 0.504 MB / 0.5737 GB, free: 6.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5877, allocations: 8.031 kB / 0.5737 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.5878, allocations: 24.66 kB / 0.5737 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.5882, allocations: 287.5 kB / 0.574 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.5883, allocations: 8.375 kB / 0.574 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.5883, allocations: 8.281 kB / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.5885, allocations: 103.8 kB / 0.5741 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5885, allocations: 192 / 0.5741 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.5886, allocations: 11.94 kB / 0.5741 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.5886, allocations: 3.984 kB / 0.5741 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.5887, allocations: 43.91 kB / 0.5742 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.5893, allocations: 457 kB / 0.5746 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.5896, allocations: 121.2 kB / 0.5747 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.5897, allocations: 45.69 kB / 0.5748 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5898, allocations: 4 kB / 0.5748 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.59, allocations: 114.8 kB / 0.5749 GB, free: 4.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.59, allocations: 0 / 0.5749 GB, free: 4.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009303/0.5909, allocations: 368 kB / 0.5752 GB, free: 4.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.591, allocations: 85.09 kB / 0.5753 GB, free: 4.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.5914, allocations: 347 kB / 0.5756 GB, free: 3.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5915, allocations: 29.7 kB / 0.5757 GB, free: 3.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.5916, allocations: 140.4 kB / 0.5758 GB, free: 3.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.5916, allocations: 47.36 kB / 0.5759 GB, free: 3.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.5917, allocations: 0 / 0.5759 GB, free: 3.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5918, allocations: 346.8 kB / 0.5762 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.5919, allocations: 39.97 kB / 0.5762 GB, free: 3.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.5921, allocations: 80.22 kB / 0.5763 GB, free: 3.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.5923, allocations: 127.5 kB / 0.5764 GB, free: 3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5923, allocations: 0 / 0.5764 GB, free: 3 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003537/0.5927, allocations: 189.2 kB / 0.5766 GB, free: 2.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5927, allocations: 4.938 kB / 0.5766 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5927, allocations: 0 / 0.5766 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5928, allocations: 7.938 kB / 0.5766 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5929, allocations: 31.98 kB / 0.5766 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5929, allocations: 4 kB / 0.5766 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.5931, allocations: 11.97 kB / 0.5767 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.5931, allocations: 8 kB / 0.5767 GB, free: 2.742 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001793/0.5933, allocations: 162.2 kB / 0.5768 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.5933, allocations: 23.72 kB / 0.5768 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.5938, allocations: 219.1 kB / 0.5771 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5938, allocations: 0 / 0.5771 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5938, allocations: 4.75 kB / 0.5771 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5938, allocations: 7.984 kB / 0.5771 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.5948, allocations: 0.6594 MB / 0.5777 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5948, allocations: 0 / 0.5777 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.5949, allocations: 23.98 kB / 0.5777 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.5949, allocations: 4 kB / 0.5777 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.595, allocations: 11.94 kB / 0.5777 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.595, allocations: 8.062 kB / 0.5778 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.595, allocations: 3.938 kB / 0.5778 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.5955, allocations: 372.1 kB / 0.5781 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5956, allocations: 112.8 kB / 0.5782 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.5957, allocations: 15.94 kB / 0.5782 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5958, allocations: 11.98 kB / 0.5782 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.5959, allocations: 11.98 kB / 0.5783 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.5959, allocations: 8 kB / 0.5783 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.5962, allocations: 261.9 kB / 0.5785 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5962, allocations: 0 / 0.5785 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.5966, allocations: 52 kB / 0.5786 GB, free: 0.6797 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001191/0.5977, allocations: 487.7 kB / 0.579 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.5981, allocations: 123.9 kB / 0.5791 GB, free: 180 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5981, allocations: 128 / 0.5791 GB, free: 180 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5982, allocations: 71.84 kB / 0.5792 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.5988, allocations: 49.36 kB / 0.5793 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.5997, allocations: 0.4919 MB / 0.5797 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.6001, allocations: 0.7556 MB / 0.5805 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.6002, allocations: 34.16 kB / 0.5805 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.6002, allocations: 35.36 kB / 0.5805 GB, free: 14.69 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6002, allocations: 4 kB / 0.5806 GB, free: 14.69 MB / 410.7 MB Notification: Performance of Templates: time 0.006361/0.6066, allocations: 2.797 MB / 0.5833 GB, free: 11.9 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches