Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002198/0.002197, 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.151/2.151, 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.001129/0.001128, allocations: 89.53 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.2956/0.2956, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.534e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4101, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5769, allocations: 87.95 MB / 0.5518 GB, free: 11.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5773, allocations: 75.25 kB / 0.5519 GB, free: 11.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.5967, allocations: 4.218 MB / 0.556 GB, free: 7.074 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5967, allocations: 0 / 0.556 GB, free: 7.074 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.5967, allocations: 0 / 0.556 GB, free: 7.074 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007673/0.5975, allocations: 460 kB / 0.5564 GB, free: 6.574 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5976, allocations: 16.03 kB / 0.5564 GB, free: 6.559 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.5977, allocations: 11.91 kB / 0.5565 GB, free: 6.547 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.5981, allocations: 230.7 kB / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5982, allocations: 0 / 0.5567 GB, free: 6.281 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.5982, allocations: 7.984 kB / 0.5567 GB, free: 6.273 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001461/0.5984, allocations: 32 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.5986, allocations: 92.17 kB / 0.5568 GB, free: 6.137 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5986, allocations: 8 kB / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5987, allocations: 0 / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5987, allocations: 0 / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.5995, allocations: 0.4897 MB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.5999, allocations: 74.67 kB / 0.5574 GB, free: 5.512 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.6, allocations: 32.86 kB / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6, allocations: 0 / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.6002, allocations: 71.33 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.063e-06/0.6002, allocations: 4 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003314/0.6006, allocations: 105.4 kB / 0.5576 GB, free: 5.281 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.6006, allocations: 51.41 kB / 0.5576 GB, free: 5.219 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.6009, allocations: 166.7 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.6009, allocations: 33.64 kB / 0.5578 GB, free: 5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.601, allocations: 170.5 kB / 0.558 GB, free: 4.832 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.6011, allocations: 31.55 kB / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.6011, allocations: 4 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6013, allocations: 322.7 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.6014, allocations: 20 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.6015, allocations: 57.78 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.959e-05/0.6016, allocations: 23.98 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.6016, allocations: 8 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002722/0.6019, allocations: 105.5 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.602, allocations: 4 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.602, allocations: 4 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.602, allocations: 0 / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.6022, allocations: 27.92 kB / 0.5585 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6022, allocations: 7.953 kB / 0.5586 GB, free: 4.199 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.6024, allocations: 8.062 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.6024, allocations: 8 kB / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001111/0.6025, allocations: 113.1 kB / 0.5587 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.6026, allocations: 15.81 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.6029, allocations: 111.4 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6029, allocations: 0 / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6029, allocations: 0 / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.603, allocations: 3.953 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.6032, allocations: 186.3 kB / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.6032, allocations: 4.188 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.6034, allocations: 19.98 kB / 0.559 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6034, allocations: 7.922 kB / 0.559 GB, free: 3.688 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.6034, allocations: 0 / 0.559 GB, free: 3.688 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6035, allocations: 3.938 kB / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6035, allocations: 0 / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.6039, allocations: 172.8 kB / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.604, allocations: 96.89 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.604, allocations: 4.062 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.6041, allocations: 11.98 kB / 0.5593 GB, free: 3.367 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.6042, allocations: 3.984 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.6042, allocations: 4 kB / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.6044, allocations: 132.1 kB / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.346e-06/0.6044, allocations: 0 / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.6048, allocations: 36.05 kB / 0.5595 GB, free: 3.195 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001134/0.6059, allocations: 354.4 kB / 0.5598 GB, free: 2.875 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.6062, allocations: 67.86 kB / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6062, allocations: 0 / 0.5599 GB, free: 2.809 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.6063, allocations: 28 kB / 0.5599 GB, free: 2.781 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.6068, allocations: 35.97 kB / 0.5599 GB, free: 2.742 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.6074, allocations: 217.1 kB / 0.5601 GB, free: 2.5 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.6078, allocations: 0.7161 MB / 0.5608 GB, free: 1.758 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.6079, allocations: 23.36 kB / 0.5608 GB, free: 1.734 MB / 395.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6079, allocations: 0 / 0.5608 GB, free: 1.734 MB / 395.1 MB Notification: Performance of Templates: time 0.006379/0.6143, allocations: 2.145 MB / 0.5629 GB, free: 15.59 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches