Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 195.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007986/0.0007986, allocations: 92.66 kB / 299.8 MB, free: 5.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.278/0.278, allocations: 45 MB / 397 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002401/0.0002401, allocations: 8 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2587, allocations: 63.09 MB / 0.5214 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001476/0.2602, allocations: 1.294 MB / 0.5226 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2614, allocations: 1.413 MB / 0.524 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.2615, allocations: 4 kB / 0.524 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.2617, allocations: 23.53 kB / 0.524 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.2619, allocations: 71.28 kB / 0.5241 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2621, allocations: 104.2 kB / 0.5242 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2622, allocations: 54.36 kB / 0.5243 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.448e-05/0.2623, allocations: 19.33 kB / 0.5243 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.2624, allocations: 28.27 kB / 0.5243 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2625, allocations: 28.95 kB / 0.5243 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2625, allocations: 2.594 kB / 0.5243 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2626, allocations: 81.03 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.2626, allocations: 10.22 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.2627, allocations: 44.39 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2629, allocations: 138.3 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2629, allocations: 0 / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2629, allocations: 0 / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2629, allocations: 3.938 kB / 0.5246 GB, free: 36.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003359/0.2632, allocations: 393.2 kB / 0.525 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.2633, allocations: 10.34 kB / 0.525 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.2633, allocations: 7.375 kB / 0.525 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2634, allocations: 195.9 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2635, allocations: 384 / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2635, allocations: 6.969 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.2636, allocations: 71.62 kB / 0.5252 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2636, allocations: 0 / 0.5252 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2636, allocations: 2.75 kB / 0.5252 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2637, allocations: 0 / 0.5252 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.2637, allocations: 27.8 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.264, allocations: 297.8 kB / 0.5256 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2642, allocations: 42.53 kB / 0.5256 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.2643, allocations: 21.05 kB / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2643, allocations: 0 / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.2643, allocations: 37.56 kB / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2643, allocations: 0 / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004499/0.2648, allocations: 166.5 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.2648, allocations: 77.11 kB / 0.5259 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.2649, allocations: 143.5 kB / 0.526 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.2649, allocations: 25.7 kB / 0.526 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.2649, allocations: 95.08 kB / 0.5261 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.265, allocations: 25.81 kB / 0.5262 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.265, allocations: 0 / 0.5262 GB, free: 34.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.265, allocations: 328.4 kB / 0.5265 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.2651, allocations: 27.12 kB / 0.5265 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.2652, allocations: 38.25 kB / 0.5265 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.2653, allocations: 63.61 kB / 0.5266 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2653, allocations: 3.328 kB / 0.5266 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.2655, allocations: 92.16 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.2655, allocations: 5.969 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2655, allocations: 0 / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2655, allocations: 2.781 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.2656, allocations: 22.55 kB / 0.5267 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2656, allocations: 0 / 0.5267 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.2656, allocations: 6.156 kB / 0.5267 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2656, allocations: 3.938 kB / 0.5267 GB, free: 34.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.2657, allocations: 116.2 kB / 0.5268 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.2657, allocations: 5.906 kB / 0.5268 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.2659, allocations: 111.2 kB / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2659, allocations: 0 / 0.527 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.266, allocations: 7.031 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.266, allocations: 0 / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.2663, allocations: 372.8 kB / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2663, allocations: 0 / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.2664, allocations: 14.12 kB / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.2664, allocations: 0 / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2664, allocations: 0 / 0.5273 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2664, allocations: 6.688 kB / 0.5273 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2664, allocations: 0 / 0.5273 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2666, allocations: 198 kB / 0.5275 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.2666, allocations: 90.92 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.2666, allocations: 2.812 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.2667, allocations: 6.906 kB / 0.5276 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.2667, allocations: 10.34 kB / 0.5276 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2667, allocations: 6.938 kB / 0.5276 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.2668, allocations: 112 kB / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2668, allocations: 0 / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.267, allocations: 38.39 kB / 0.5278 GB, free: 33.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008598/0.2679, allocations: 0.557 MB / 0.5283 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.2681, allocations: 59.75 kB / 0.5284 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2681, allocations: 2.875 kB / 0.5284 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.2682, allocations: 34.91 kB / 0.5284 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2684, allocations: 13 kB / 0.5284 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.2687, allocations: 197 kB / 0.5286 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2688, allocations: 0.6869 MB / 0.5293 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.377e-05/0.2689, allocations: 22.05 kB / 0.5293 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.2689, allocations: 16.97 kB / 0.5293 GB, free: 31.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2689, allocations: 3.938 kB / 0.5293 GB, free: 31.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003268/0.2722, allocations: 1.728 MB / 0.531 GB, free: 31.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches