Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009173/0.0009174, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 229.5 MB / 247.7 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007205/0.0007205, allocations: 91.02 kB / 299.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.308/0.308, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 4.219 kB / 470.8 MB, free: 7.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2965, allocations: 63.09 MB / 0.5214 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0005838/0.2971, allocations: 220.1 kB / 0.5216 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.2989, allocations: 2.053 MB / 0.5236 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.2989, allocations: 0 / 0.5236 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.2989, allocations: 0 / 0.5236 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.529e-06/0.2989, allocations: 3.938 kB / 0.5236 GB, free: 36.66 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.2996, allocations: 206.1 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.683e-05/0.2996, allocations: 0 / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.2997, allocations: 3 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.2997, allocations: 3.984 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.64e-05/0.2997, allocations: 0 / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.578e-06/0.2997, allocations: 3.938 kB / 0.5238 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.3005, allocations: 0.6759 MB / 0.5244 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.3005, allocations: 2.906 kB / 0.5244 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.3006, allocations: 29.69 kB / 0.5245 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.3012, allocations: 0.6503 MB / 0.5251 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3012, allocations: 0 / 0.5251 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3012, allocations: 0 / 0.5251 GB, free: 36.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.3012, allocations: 0 / 0.5251 GB, free: 36.34 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003201/0.3015, allocations: 355.5 kB / 0.5254 GB, free: 35.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3016, allocations: 8.031 kB / 0.5255 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.3016, allocations: 3.5 kB / 0.5255 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.882e-05/0.3017, allocations: 160.4 kB / 0.5256 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3017, allocations: 384 / 0.5256 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3017, allocations: 384 / 0.5256 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.3018, allocations: 48.02 kB / 0.5257 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3018, allocations: 3.938 kB / 0.5257 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.3018, allocations: 3.938 kB / 0.5257 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3018, allocations: 2.469 kB / 0.5257 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.3018, allocations: 0 / 0.5257 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.354e-05/0.3019, allocations: 144.4 kB / 0.5258 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/0.302, allocations: 18.52 kB / 0.5258 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.088e-05/0.302, allocations: 11.39 kB / 0.5258 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.302, allocations: 3.938 kB / 0.5258 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3021, allocations: 64.2 kB / 0.5259 GB, free: 35.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.3021, allocations: 2.5 kB / 0.5259 GB, free: 35.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.3022, allocations: 64.31 kB / 0.526 GB, free: 35.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3023, allocations: 79.67 kB / 0.526 GB, free: 35.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.695e-05/0.3023, allocations: 89.86 kB / 0.5261 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.3023, allocations: 25.83 kB / 0.5262 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.3023, allocations: 84.14 kB / 0.5262 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.3023, allocations: 0 / 0.5262 GB, free: 35.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.3023, allocations: 0 / 0.5262 GB, free: 35.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.3024, allocations: 321.5 kB / 0.5265 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.3024, allocations: 0 / 0.5265 GB, free: 34.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.3024, allocations: 0 / 0.5265 GB, free: 34.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.3025, allocations: 68.75 kB / 0.5266 GB, free: 34.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3025, allocations: 64 / 0.5266 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.844e-05/0.3025, allocations: 61.19 kB / 0.5267 GB, free: 34.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3026, allocations: 39.27 kB / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3026, allocations: 3.984 kB / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3026, allocations: 0 / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.3026, allocations: 3.281 kB / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3026, allocations: 2.938 kB / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.437e-05/0.3026, allocations: 0 / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3026, allocations: 0 / 0.5267 GB, free: 34.52 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.572e-05/0.3027, allocations: 140.8 kB / 0.5268 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.3027, allocations: 7.938 kB / 0.5269 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-06/0.3027, allocations: 3.125 kB / 0.5269 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3028, allocations: 2.5 kB / 0.5269 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3028, allocations: 0 / 0.5269 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3028, allocations: 3.141 kB / 0.5269 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.048e-05/0.3028, allocations: 144.2 kB / 0.527 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3028, allocations: 3.938 kB / 0.527 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3028, allocations: 0 / 0.527 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3028, allocations: 3.938 kB / 0.527 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3029, allocations: 7.125 kB / 0.527 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3029, allocations: 6.469 kB / 0.527 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3029, allocations: 0 / 0.527 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.04e-05/0.3029, allocations: 88.14 kB / 0.5271 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.303, allocations: 77.11 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.303, allocations: 3.938 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.303, allocations: 3.156 kB / 0.5272 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.303, allocations: 4 kB / 0.5272 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.303, allocations: 4.031 kB / 0.5272 GB, free: 33.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.217e-05/0.303, allocations: 79.22 kB / 0.5273 GB, free: 33.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.303, allocations: 0 / 0.5273 GB, free: 33.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.3034, allocations: 119.8 kB / 0.5274 GB, free: 33.88 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000647/0.3041, allocations: 178.5 kB / 0.5275 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.3042, allocations: 68.91 kB / 0.5276 GB, free: 33.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3042, allocations: 0 / 0.5276 GB, free: 33.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.017e-05/0.3042, allocations: 53.97 kB / 0.5277 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.3043, allocations: 6.5 kB / 0.5277 GB, free: 33.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001748/0.3045, allocations: 87.48 kB / 0.5278 GB, free: 33.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3047, allocations: 0.6726 MB / 0.5284 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.92e-06/0.3047, allocations: 0 / 0.5284 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-06/0.3047, allocations: 7.438 kB / 0.5284 GB, free: 32.82 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3047, allocations: 0 / 0.5284 GB, free: 32.82 MB / 378.7 MB Notification: Performance of Templates: time 0.006602/0.3113, allocations: 3.9 MB / 0.5322 GB, free: 32.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)