Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 200.8 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.27/1.27, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007509/0.000751, allocations: 94.75 kB / 299.8 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2976/0.2976, allocations: 45 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002637/0.0002637, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2716, allocations: 63.1 MB / 0.5214 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001492/0.2732, allocations: 1.307 MB / 0.5226 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000712/0.2739, allocations: 0.7395 MB / 0.5234 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.2739, allocations: 0 / 0.5234 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.2742, allocations: 82.62 kB / 0.5234 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.2744, allocations: 85.5 kB / 0.5235 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.2746, allocations: 100.6 kB / 0.5236 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2747, allocations: 81.31 kB / 0.5237 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.2748, allocations: 11.94 kB / 0.5237 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.2749, allocations: 37.42 kB / 0.5238 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.2749, allocations: 49.59 kB / 0.5238 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.275, allocations: 0 / 0.5238 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.2751, allocations: 47.16 kB / 0.5238 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.2751, allocations: 18.91 kB / 0.5239 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2752, allocations: 54.7 kB / 0.5239 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2753, allocations: 105.8 kB / 0.524 GB, free: 36.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2753, allocations: 0 / 0.524 GB, free: 36.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2753, allocations: 2.406 kB / 0.524 GB, free: 36.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.2753, allocations: 0 / 0.524 GB, free: 36.42 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.0003106/0.2756, allocations: 394.7 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2757, allocations: 9.969 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.2757, allocations: 22.59 kB / 0.5244 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2758, allocations: 193.2 kB / 0.5246 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2759, allocations: 6.781 kB / 0.5246 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2759, allocations: 3.281 kB / 0.5246 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.276, allocations: 62.97 kB / 0.5247 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.276, allocations: 0 / 0.5247 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.276, allocations: 0 / 0.5247 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.276, allocations: 2.875 kB / 0.5247 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.2761, allocations: 32.14 kB / 0.5247 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.2764, allocations: 306.2 kB / 0.525 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.2765, allocations: 52.83 kB / 0.5251 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.2766, allocations: 21.33 kB / 0.5251 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2766, allocations: 0 / 0.5251 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2766, allocations: 36.91 kB / 0.5251 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2766, allocations: 0 / 0.5251 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00073/0.2773, allocations: 272.8 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.2774, allocations: 51.41 kB / 0.5254 GB, free: 35.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2775, allocations: 209.3 kB / 0.5256 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.2775, allocations: 32.67 kB / 0.5256 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.2776, allocations: 102.3 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2776, allocations: 29.03 kB / 0.5258 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.2776, allocations: 3.938 kB / 0.5258 GB, free: 34.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.2776, allocations: 329.1 kB / 0.5261 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.2777, allocations: 30.38 kB / 0.5261 GB, free: 34.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.2778, allocations: 38.06 kB / 0.5262 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2779, allocations: 83.77 kB / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2779, allocations: 0 / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000181/0.2781, allocations: 123.7 kB / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2781, allocations: 5.781 kB / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2782, allocations: 0 / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2782, allocations: 0 / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.2783, allocations: 24.67 kB / 0.5264 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2783, allocations: 3.938 kB / 0.5264 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.2783, allocations: 16.86 kB / 0.5264 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2783, allocations: 3.938 kB / 0.5264 GB, free: 34.45 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.872e-05/0.2784, allocations: 127.9 kB / 0.5265 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2784, allocations: 9.5 kB / 0.5265 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.2787, allocations: 134.3 kB / 0.5267 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2787, allocations: 2.844 kB / 0.5267 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2787, allocations: 3.469 kB / 0.5267 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2787, allocations: 3.938 kB / 0.5267 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.2791, allocations: 436.6 kB / 0.5271 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2791, allocations: 3 kB / 0.5271 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.2792, allocations: 22.8 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2792, allocations: 3.938 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2792, allocations: 2.531 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2792, allocations: 4.031 kB / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2792, allocations: 0 / 0.5271 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.2794, allocations: 214.2 kB / 0.5273 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.2794, allocations: 96.55 kB / 0.5274 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2794, allocations: 6.656 kB / 0.5274 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.2795, allocations: 8.422 kB / 0.5274 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2795, allocations: 9.906 kB / 0.5274 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2796, allocations: 2.5 kB / 0.5275 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.63e-05/0.2796, allocations: 166.6 kB / 0.5276 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.2796, allocations: 0 / 0.5276 GB, free: 33.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.2799, allocations: 26.47 kB / 0.5276 GB, free: 33.5 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.000821/0.2807, allocations: 0.503 MB / 0.5281 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2809, allocations: 86.98 kB / 0.5282 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2809, allocations: 3.938 kB / 0.5282 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.281, allocations: 48.81 kB / 0.5283 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2813, allocations: 25.42 kB / 0.5283 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.2816, allocations: 300.2 kB / 0.5286 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2817, allocations: 0.7105 MB / 0.5293 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.2818, allocations: 19.28 kB / 0.5293 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.2818, allocations: 17.25 kB / 0.5293 GB, free: 32.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2818, allocations: 0 / 0.5293 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003011/0.2848, allocations: 1.313 MB / 0.5306 GB, free: 32.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches