Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008404, allocations: 95.66 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1843/0.1843, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.769e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4976, allocations: 89.21 MB / 0.5888 GB, free: 116 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.4979, allocations: 75.95 kB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.5127, allocations: 5.882 MB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5128, allocations: 3.984 kB / 0.5947 GB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.5128, allocations: 4 kB / 0.5947 GB, free: 10.17 MB / 410.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.0004056/0.5132, allocations: 414.2 kB / 0.5951 GB, free: 9.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5132, allocations: 12.02 kB / 0.5951 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.5133, allocations: 11.91 kB / 0.5951 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.5136, allocations: 234.5 kB / 0.5953 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.5136, allocations: 3.953 kB / 0.5953 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5137, allocations: 4 kB / 0.5953 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.5138, allocations: 53.62 kB / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5138, allocations: 0 / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5138, allocations: 3.984 kB / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.5138, allocations: 0 / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.5139, allocations: 23.94 kB / 0.5954 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.5143, allocations: 308.9 kB / 0.5957 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5144, allocations: 50.62 kB / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.5144, allocations: 20.98 kB / 0.5957 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.5144, allocations: 3.984 kB / 0.5958 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.5146, allocations: 67.31 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.5146, allocations: 0 / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004035/0.515, allocations: 169.2 kB / 0.596 GB, free: 8.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.515, allocations: 51.41 kB / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.5153, allocations: 233.8 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5153, allocations: 29.7 kB / 0.5963 GB, free: 8.305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.5153, allocations: 108.1 kB / 0.5964 GB, free: 8.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.5154, allocations: 31.64 kB / 0.5964 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.5154, allocations: 4 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5155, allocations: 330.8 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.5155, allocations: 16 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.5156, allocations: 33.72 kB / 0.5968 GB, free: 7.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.5156, allocations: 27.92 kB / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.5157, allocations: 0 / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.5158, allocations: 101.6 kB / 0.5969 GB, free: 7.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5158, allocations: 9.234 kB / 0.5969 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5158, allocations: 4 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5159, allocations: 4 kB / 0.5969 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.5159, allocations: 16.12 kB / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.516, allocations: 0 / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.516, allocations: 7.938 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.516, allocations: 11.98 kB / 0.597 GB, free: 7.59 MB / 410.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 () * 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 5.871e-05/0.5161, allocations: 104.9 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.5161, allocations: 19.84 kB / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5163, allocations: 123.1 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5164, allocations: 3.984 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5164, allocations: 0 / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5164, allocations: 0 / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.5168, allocations: 435.2 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5168, allocations: 0 / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.5169, allocations: 16.03 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5169, allocations: 3.938 kB / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5169, allocations: 4 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5169, allocations: 0 / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5169, allocations: 3.938 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.5171, allocations: 217.9 kB / 0.5978 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.5172, allocations: 108.8 kB / 0.5979 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.5172, allocations: 4 kB / 0.5979 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.5173, allocations: 7.984 kB / 0.598 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.5174, allocations: 7.953 kB / 0.598 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.5174, allocations: 4 kB / 0.598 GB, free: 6.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.5176, allocations: 196.2 kB / 0.5982 GB, free: 6.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5176, allocations: 0 / 0.5982 GB, free: 6.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.5178, allocations: 39.92 kB / 0.5982 GB, free: 6.199 MB / 410.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) * 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.0008728/0.5187, allocations: 434.9 kB / 0.5986 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.5188, allocations: 59.91 kB / 0.5987 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5189, allocations: 0 / 0.5987 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.5189, allocations: 32.06 kB / 0.5987 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.5191, allocations: 35.7 kB / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.5195, allocations: 219.5 kB / 0.5989 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.5198, allocations: 0.716 MB / 0.5996 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.5199, allocations: 24.42 kB / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.5199, allocations: 23.42 kB / 0.5997 GB, free: 4.73 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5199, allocations: 0 / 0.5997 GB, free: 4.73 MB / 410.7 MB Notification: Performance of Templates: time 0.003969/0.5239, allocations: 1.832 MB / 0.6015 GB, free: 2.906 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches