Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009489/0.0009491, allocations: 201.1 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007517/0.0007517, allocations: 99.25 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2791/0.2791, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002353, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2652, allocations: 63.1 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.001346/0.2666, allocations: 1.306 MB / 0.5227 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006885/0.2673, allocations: 0.7395 MB / 0.5234 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.2674, allocations: 6.719 kB / 0.5234 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.2676, allocations: 78.38 kB / 0.5235 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2678, allocations: 87.14 kB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.268, allocations: 98.12 kB / 0.5236 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2681, allocations: 78.22 kB / 0.5237 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.2682, allocations: 15 kB / 0.5237 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.2683, allocations: 36.92 kB / 0.5238 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.2683, allocations: 44.98 kB / 0.5238 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2684, allocations: 2.906 kB / 0.5238 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.2684, allocations: 44.3 kB / 0.5238 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.2685, allocations: 18.7 kB / 0.5239 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.2685, allocations: 54.67 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.2687, allocations: 103.9 kB / 0.524 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2687, allocations: 0 / 0.524 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2687, allocations: 4 kB / 0.524 GB, free: 36.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.2687, allocations: 0 / 0.524 GB, free: 36.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002884/0.269, allocations: 398.7 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.269, allocations: 8.812 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.269, allocations: 18.47 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2692, allocations: 193.7 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2692, allocations: 7.188 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2692, allocations: 7.125 kB / 0.5246 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2693, allocations: 67.02 kB / 0.5247 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2693, allocations: 0 / 0.5247 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.2693, allocations: 0 / 0.5247 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2694, allocations: 3.281 kB / 0.5247 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.2694, allocations: 29.12 kB / 0.5247 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2697, allocations: 309.4 kB / 0.525 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.231e-05/0.2698, allocations: 43.78 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.2699, allocations: 23.8 kB / 0.5251 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2699, allocations: 0 / 0.5251 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.2699, allocations: 34.56 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2699, allocations: 3.062 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007213/0.2706, allocations: 272.1 kB / 0.5254 GB, free: 35.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/0.2707, allocations: 51.41 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2708, allocations: 216 kB / 0.5256 GB, free: 35.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.2708, allocations: 29.7 kB / 0.5257 GB, free: 35.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.2709, allocations: 105.2 kB / 0.5258 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2709, allocations: 25.95 kB / 0.5258 GB, free: 35.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.2709, allocations: 3.938 kB / 0.5258 GB, free: 35.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.2709, allocations: 328.8 kB / 0.5261 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.271, allocations: 31.25 kB / 0.5261 GB, free: 34.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.2711, allocations: 37.94 kB / 0.5262 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2712, allocations: 77.92 kB / 0.5262 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2712, allocations: 2.594 kB / 0.5262 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001734/0.2714, allocations: 125.4 kB / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/0.2714, allocations: 7.812 kB / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.2714, allocations: 0 / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2714, allocations: 0 / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.2715, allocations: 22.09 kB / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2715, allocations: 2.906 kB / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.2716, allocations: 14.17 kB / 0.5264 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2716, allocations: 3 kB / 0.5264 GB, free: 34.62 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 (8): * Single equations (assignments): 8 * 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.317e-05/0.2716, allocations: 129.9 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.2717, allocations: 9.812 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.2719, allocations: 131.3 kB / 0.5267 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2719, allocations: 6.922 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2719, allocations: 7.938 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2719, allocations: 7.359 kB / 0.5267 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.2723, allocations: 432.2 kB / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2723, allocations: 0 / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.2724, allocations: 20.42 kB / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2724, allocations: 3.938 kB / 0.5271 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2724, allocations: 6.812 kB / 0.5271 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2724, allocations: 0 / 0.5271 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2724, allocations: 0 / 0.5271 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.2726, allocations: 225.4 kB / 0.5273 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.2727, allocations: 95.05 kB / 0.5274 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2727, allocations: 7.031 kB / 0.5274 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.2728, allocations: 5.906 kB / 0.5274 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.2728, allocations: 10.3 kB / 0.5275 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.2728, allocations: 3.156 kB / 0.5275 GB, free: 33.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.521e-05/0.2729, allocations: 164.6 kB / 0.5276 GB, free: 33.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2729, allocations: 0 / 0.5276 GB, free: 33.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.2731, allocations: 24.31 kB / 0.5276 GB, free: 33.66 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008191/0.2739, allocations: 0.5057 MB / 0.5281 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.2741, allocations: 84.34 kB / 0.5282 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2741, allocations: 0 / 0.5282 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.2742, allocations: 45.8 kB / 0.5283 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2745, allocations: 20.12 kB / 0.5283 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.2748, allocations: 308.9 kB / 0.5286 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.275, allocations: 0.7082 MB / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.275, allocations: 21.14 kB / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.2751, allocations: 19.81 kB / 0.5293 GB, free: 32.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2751, allocations: 4 kB / 0.5293 GB, free: 32.37 MB / 378.7 MB Notification: Performance of Templates: time 0.002817/0.2779, allocations: 1.308 MB / 0.5306 GB, free: 32.22 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches