Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.00082, allocations: 99.52 kB / 295.1 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3199/0.3199, allocations: 44.32 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3269, allocations: 61.9 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0004884/0.3274, allocations: 225.4 kB / 0.5129 GB, free: 37.83 MB / 378.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.006549/0.334, allocations: 7.251 MB / 0.52 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.334, allocations: 0 / 0.52 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.3341, allocations: 1.031 kB / 0.52 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.3341, allocations: 0 / 0.52 GB, free: 31.86 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.3399, allocations: 2.575 MB / 0.5225 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.251e-05/0.3399, allocations: 0 / 0.5225 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.34, allocations: 3 kB / 0.5225 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.34, allocations: 3.938 kB / 0.5225 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.625e-05/0.34, allocations: 0 / 0.5225 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.34, allocations: 0 / 0.5225 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02828/0.3683, allocations: 18 MB / 0.5401 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3684, allocations: 0 / 0.5401 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3684, allocations: 31.23 kB / 0.5402 GB, free: 27.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04107/0.4095, allocations: 27.05 MB / 0.5666 GB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.4095, allocations: 0 / 0.5666 GB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4096, allocations: 4 kB / 0.5666 GB, free: 6.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4096, allocations: 0 / 0.5666 GB, free: 6.258 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.007999/0.4176, allocations: 0.6516 MB / 0.5672 GB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4176, allocations: 8.031 kB / 0.5672 GB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.4177, allocations: 0.9375 kB / 0.5672 GB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.293e-05/0.4177, allocations: 171.2 kB / 0.5674 GB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4178, allocations: 3.938 kB / 0.5674 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.4178, allocations: 0 / 0.5674 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.106e-05/0.4178, allocations: 29.69 kB / 0.5674 GB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4179, allocations: 4 kB / 0.5674 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.4179, allocations: 0 / 0.5674 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4179, allocations: 4 kB / 0.5674 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.4179, allocations: 0 / 0.5674 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.712e-05/0.418, allocations: 149.6 kB / 0.5676 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.418, allocations: 26.53 kB / 0.5676 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.4181, allocations: 4.859 kB / 0.5676 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.4181, allocations: 0 / 0.5676 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4181, allocations: 60.33 kB / 0.5677 GB, free: 4.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.4181, allocations: 4 kB / 0.5677 GB, free: 4.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.4183, allocations: 67.39 kB / 0.5677 GB, free: 4.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.4183, allocations: 77.11 kB / 0.5678 GB, free: 4.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.19e-05/0.4184, allocations: 89.86 kB / 0.5679 GB, free: 4.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.742e-06/0.4184, allocations: 25.7 kB / 0.5679 GB, free: 4.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-06/0.4184, allocations: 80.14 kB / 0.568 GB, free: 4.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.4184, allocations: 0 / 0.568 GB, free: 4.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.4184, allocations: 0 / 0.568 GB, free: 4.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.4185, allocations: 326.8 kB / 0.5683 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.4185, allocations: 3.938 kB / 0.5683 GB, free: 4.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.4185, allocations: 0 / 0.5683 GB, free: 4.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.4185, allocations: 64.27 kB / 0.5684 GB, free: 4.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4186, allocations: 0 / 0.5684 GB, free: 4.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.093e-05/0.4186, allocations: 63.39 kB / 0.5684 GB, free: 4.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4186, allocations: 29.7 kB / 0.5684 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4187, allocations: 3.984 kB / 0.5685 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4187, allocations: 4.094 kB / 0.5685 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4187, allocations: 0 / 0.5685 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4187, allocations: 0 / 0.5685 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.4187, allocations: 4 kB / 0.5685 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.4187, allocations: 3.938 kB / 0.5685 GB, free: 4.059 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 5.451e-05/0.4188, allocations: 147.9 kB / 0.5686 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.4188, allocations: 7.906 kB / 0.5686 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.046e-05/0.4188, allocations: 3.125 kB / 0.5686 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.4188, allocations: 0 / 0.5686 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4188, allocations: 4 kB / 0.5686 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4188, allocations: 0 / 0.5686 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.349e-05/0.4189, allocations: 153.6 kB / 0.5688 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4189, allocations: 0 / 0.5688 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.4189, allocations: 4 kB / 0.5688 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4189, allocations: 0 / 0.5688 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4189, allocations: 0 / 0.5688 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4189, allocations: 0 / 0.5688 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4189, allocations: 0 / 0.5688 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.283e-05/0.419, allocations: 98.77 kB / 0.5689 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.419, allocations: 77.11 kB / 0.5689 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.419, allocations: 0 / 0.5689 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.4191, allocations: 0 / 0.5689 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.4191, allocations: 4 kB / 0.5689 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4191, allocations: 3.938 kB / 0.5689 GB, free: 3.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.243e-05/0.4191, allocations: 79.22 kB / 0.569 GB, free: 3.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4191, allocations: 0 / 0.569 GB, free: 3.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01101/0.4301, allocations: 3.781 MB / 0.5727 GB, free: 15.6 MB / 394.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.02169/0.4519, allocations: 0.9953 MB / 0.5737 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.4521, allocations: 55.41 kB / 0.5737 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4521, allocations: 0 / 0.5737 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.4521, allocations: 59.39 kB / 0.5738 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.4523, allocations: 4 kB / 0.5738 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.4525, allocations: 78.83 kB / 0.5739 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.4528, allocations: 0.6731 MB / 0.5745 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.873e-06/0.4528, allocations: 3.984 kB / 0.5745 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.4528, allocations: 7.438 kB / 0.5745 GB, free: 13.67 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4528, allocations: 4 kB / 0.5745 GB, free: 13.67 MB / 394.7 MB Notification: Performance of Templates: time 0.4111/0.8639, allocations: 112.6 MB / 0.6845 GB, free: 49.24 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1)