Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009351/0.0009352, allocations: 191.9 kB / 17.43 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 229.5 MB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000943/0.000943, allocations: 90.31 kB / 299.8 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2727/0.2727, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002402, allocations: 11.98 kB / 470.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2638, allocations: 63.1 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001441/0.2652, allocations: 1.294 MB / 0.5226 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2665, allocations: 1.405 MB / 0.524 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.2665, allocations: 0 / 0.524 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2667, allocations: 29.62 kB / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.2669, allocations: 68.03 kB / 0.5241 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2671, allocations: 103.2 kB / 0.5242 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2672, allocations: 55.27 kB / 0.5243 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.2673, allocations: 12.56 kB / 0.5243 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.2673, allocations: 26.16 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.2675, allocations: 33.69 kB / 0.5243 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.2675, allocations: 2.688 kB / 0.5243 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2676, allocations: 85.44 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.2677, allocations: 6.719 kB / 0.5244 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.2677, allocations: 47.53 kB / 0.5245 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2679, allocations: 133.7 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2679, allocations: 2.969 kB / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2679, allocations: 0 / 0.5246 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.2679, allocations: 0 / 0.5246 GB, free: 36.11 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.0003146/0.2683, allocations: 397.9 kB / 0.525 GB, free: 35.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.2683, allocations: 10.84 kB / 0.525 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.2683, allocations: 11.59 kB / 0.525 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2685, allocations: 191.9 kB / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-06/0.2685, allocations: 384 / 0.5252 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2685, allocations: 7.062 kB / 0.5252 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2686, allocations: 65.98 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2686, allocations: 0 / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.2687, allocations: 4 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2687, allocations: 4 kB / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.2688, allocations: 29.02 kB / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.269, allocations: 285.9 kB / 0.5256 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.2692, allocations: 46.64 kB / 0.5256 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.2693, allocations: 21.53 kB / 0.5256 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2693, allocations: 0 / 0.5256 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.2693, allocations: 30.56 kB / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2693, allocations: 0 / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004976/0.2698, allocations: 175.3 kB / 0.5258 GB, free: 34.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2699, allocations: 79.64 kB / 0.5259 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.27, allocations: 143.5 kB / 0.526 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.27, allocations: 29.7 kB / 0.5261 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.2701, allocations: 91.08 kB / 0.5261 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2701, allocations: 25.75 kB / 0.5262 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.2701, allocations: 3.938 kB / 0.5262 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.2701, allocations: 321.7 kB / 0.5265 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.2702, allocations: 30.59 kB / 0.5265 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.2703, allocations: 38.69 kB / 0.5265 GB, free: 34.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.2704, allocations: 60.72 kB / 0.5266 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2704, allocations: 0 / 0.5266 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001607/0.2706, allocations: 99.33 kB / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2706, allocations: 5.531 kB / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2706, allocations: 3.469 kB / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2706, allocations: 0 / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.2707, allocations: 14.88 kB / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2707, allocations: 2.469 kB / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.2707, allocations: 13.14 kB / 0.5267 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2707, allocations: 3.938 kB / 0.5267 GB, free: 34.18 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.454e-05/0.2708, allocations: 114.8 kB / 0.5268 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.2708, allocations: 2.875 kB / 0.5269 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.271, allocations: 109.9 kB / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2711, allocations: 2.75 kB / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2711, allocations: 0 / 0.527 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2711, allocations: 3.938 kB / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.2714, allocations: 370.1 kB / 0.5273 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2714, allocations: 4 kB / 0.5273 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.2715, allocations: 14.66 kB / 0.5273 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2715, allocations: 2.812 kB / 0.5273 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2715, allocations: 0 / 0.5273 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2715, allocations: 3.938 kB / 0.5273 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2715, allocations: 0 / 0.5273 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.2717, allocations: 193.7 kB / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.2717, allocations: 88.16 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2717, allocations: 6.938 kB / 0.5276 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.2718, allocations: 13.02 kB / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.2718, allocations: 4 kB / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.2718, allocations: 2.75 kB / 0.5276 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.2719, allocations: 114.9 kB / 0.5277 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 2.719 kB / 0.5277 GB, free: 33.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.2722, allocations: 37.05 kB / 0.5278 GB, free: 33.3 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.000965/0.2731, allocations: 0.5563 MB / 0.5283 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.2733, allocations: 61.58 kB / 0.5284 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2733, allocations: 4 kB / 0.5284 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.2734, allocations: 31.11 kB / 0.5284 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2737, allocations: 15.67 kB / 0.5284 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.274, allocations: 193.8 kB / 0.5286 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2741, allocations: 0.6934 MB / 0.5293 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.2742, allocations: 12.53 kB / 0.5293 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.2742, allocations: 17.06 kB / 0.5293 GB, free: 32.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2742, allocations: 0 / 0.5293 GB, free: 32.08 MB / 378.7 MB Notification: Performance of Templates: time 0.003455/0.2777, allocations: 1.73 MB / 0.531 GB, free: 31.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches