Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009944/0.0009944, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000707/0.000707, allocations: 97.47 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2873/0.2873, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002754, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2511, allocations: 63.08 MB / 0.5214 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001329/0.2525, allocations: 1.309 MB / 0.5226 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2536, allocations: 1.395 MB / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.2536, allocations: 0 / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.2538, allocations: 28.27 kB / 0.524 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.254, allocations: 66.05 kB / 0.5241 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.2542, allocations: 81.62 kB / 0.5242 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2543, allocations: 57.62 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.2544, allocations: 9.594 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.2545, allocations: 27.28 kB / 0.5243 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2546, allocations: 27.11 kB / 0.5243 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2546, allocations: 0 / 0.5243 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.2548, allocations: 88.08 kB / 0.5244 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.2548, allocations: 9.031 kB / 0.5244 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2549, allocations: 59.02 kB / 0.5244 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2551, allocations: 129.2 kB / 0.5246 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2551, allocations: 3.094 kB / 0.5246 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2551, allocations: 0 / 0.5246 GB, free: 36.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2551, allocations: 0 / 0.5246 GB, free: 36.17 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.0003259/0.2554, allocations: 390.5 kB / 0.5249 GB, free: 35.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2555, allocations: 11.09 kB / 0.5249 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.2555, allocations: 7.781 kB / 0.525 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2556, allocations: 195.3 kB / 0.5251 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2557, allocations: 7.438 kB / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2557, allocations: 384 / 0.5251 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.2558, allocations: 67.2 kB / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2558, allocations: 2.938 kB / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2558, allocations: 0 / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2558, allocations: 0 / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.2559, allocations: 31.91 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.2562, allocations: 279.6 kB / 0.5255 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2564, allocations: 40.81 kB / 0.5255 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.2564, allocations: 19.77 kB / 0.5256 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.2564, allocations: 0 / 0.5256 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.2565, allocations: 37.5 kB / 0.5256 GB, free: 35.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2565, allocations: 0 / 0.5256 GB, free: 35.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004412/0.2569, allocations: 154.7 kB / 0.5258 GB, free: 35.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.257, allocations: 77.11 kB / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.2571, allocations: 143.4 kB / 0.526 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.2571, allocations: 25.7 kB / 0.526 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.2571, allocations: 94.14 kB / 0.5261 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.2571, allocations: 22.5 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2571, allocations: 4 kB / 0.5261 GB, free: 34.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.2572, allocations: 332.6 kB / 0.5264 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.2572, allocations: 17.36 kB / 0.5264 GB, free: 34.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.2573, allocations: 44.56 kB / 0.5265 GB, free: 34.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.2574, allocations: 55.33 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2574, allocations: 0 / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001478/0.2576, allocations: 87.03 kB / 0.5266 GB, free: 34.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.2576, allocations: 5.25 kB / 0.5266 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.2576, allocations: 0 / 0.5266 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2576, allocations: 0 / 0.5266 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.2577, allocations: 18.05 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.2577, allocations: 0 / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.2578, allocations: 12.75 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2578, allocations: 6.031 kB / 0.5267 GB, free: 34.27 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 5.015e-05/0.2578, allocations: 123 kB / 0.5268 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2579, allocations: 2.625 kB / 0.5268 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.2581, allocations: 101.8 kB / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2581, allocations: 0 / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2581, allocations: 0 / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2581, allocations: 0 / 0.5269 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.2584, allocations: 365 kB / 0.5272 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2584, allocations: 0 / 0.5272 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.2585, allocations: 15.94 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2585, allocations: 0 / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.2585, allocations: 6.812 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2585, allocations: 7.578 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2585, allocations: 0 / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.2586, allocations: 187.6 kB / 0.5274 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.2587, allocations: 87.95 kB / 0.5275 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.2587, allocations: 6.969 kB / 0.5275 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.2588, allocations: 10.34 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.2588, allocations: 6.5 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.2588, allocations: 3.031 kB / 0.5275 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.2589, allocations: 107.5 kB / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2589, allocations: 0 / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.2591, allocations: 42.56 kB / 0.5277 GB, free: 33.38 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.0008643/0.26, allocations: 0.5588 MB / 0.5282 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.2602, allocations: 55.12 kB / 0.5283 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2602, allocations: 0 / 0.5283 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.2603, allocations: 27.09 kB / 0.5283 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2605, allocations: 21.28 kB / 0.5283 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.2608, allocations: 186.5 kB / 0.5285 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2609, allocations: 0.6942 MB / 0.5292 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.261, allocations: 9.875 kB / 0.5292 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.261, allocations: 19.84 kB / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.261, allocations: 0 / 0.5292 GB, free: 32.16 MB / 378.7 MB Notification: Performance of Templates: time 0.00328/0.2643, allocations: 1.704 MB / 0.5309 GB, free: 31.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches