Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008505/0.0008505, allocations: 98.28 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2837/0.2837, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002284/0.0002284, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2622, allocations: 63.08 MB / 0.5214 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0005304/0.2627, allocations: 221.1 kB / 0.5216 GB, free: 38.36 MB / 378.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.005888/0.2686, allocations: 7.442 MB / 0.5288 GB, free: 32.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.2687, allocations: 0 / 0.5288 GB, free: 32.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.2687, allocations: 0 / 0.5288 GB, free: 32.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.2687, allocations: 2.812 kB / 0.5288 GB, free: 32.17 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/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.005106/0.2738, allocations: 2.583 MB / 0.5314 GB, free: 31.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.714e-05/0.2739, allocations: 6.562 kB / 0.5314 GB, free: 31.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.2739, allocations: 0 / 0.5314 GB, free: 31.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.2739, allocations: 0 / 0.5314 GB, free: 31.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.487e-05/0.2739, allocations: 2.969 kB / 0.5314 GB, free: 31.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.2739, allocations: 3.938 kB / 0.5314 GB, free: 31.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03025/0.3042, allocations: 18 MB / 0.549 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.3043, allocations: 0 / 0.549 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.3043, allocations: 29.7 kB / 0.549 GB, free: 26.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03261/0.3369, allocations: 27.05 MB / 0.5754 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.337, allocations: 4 kB / 0.5754 GB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.038e-06/0.337, allocations: 0 / 0.5754 GB, free: 15.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.337, allocations: 0 / 0.5754 GB, free: 15.15 MB / 394.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.006959/0.344, allocations: 0.6477 MB / 0.576 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.344, allocations: 8.031 kB / 0.576 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.3441, allocations: 4.938 kB / 0.576 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3442, allocations: 167.2 kB / 0.5762 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3442, allocations: 0 / 0.5762 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.3442, allocations: 0 / 0.5762 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.3443, allocations: 33.69 kB / 0.5762 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3443, allocations: 0 / 0.5762 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3444, allocations: 0 / 0.5762 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3444, allocations: 0 / 0.5762 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.3444, allocations: 3.938 kB / 0.5762 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.3445, allocations: 153.7 kB / 0.5764 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.871e-05/0.3446, allocations: 18.58 kB / 0.5764 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.3446, allocations: 4.859 kB / 0.5764 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.3446, allocations: 0 / 0.5764 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.3446, allocations: 64.31 kB / 0.5765 GB, free: 13.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.324e-06/0.3447, allocations: 0 / 0.5765 GB, free: 13.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.3448, allocations: 71.28 kB / 0.5765 GB, free: 13.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3449, allocations: 81.23 kB / 0.5766 GB, free: 13.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.389e-05/0.3449, allocations: 89.86 kB / 0.5767 GB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.3449, allocations: 25.7 kB / 0.5767 GB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.345, allocations: 80.14 kB / 0.5768 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.345, allocations: 0 / 0.5768 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.345, allocations: 0 / 0.5768 GB, free: 13.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3451, allocations: 322.8 kB / 0.5771 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.3451, allocations: 0 / 0.5771 GB, free: 13.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-06/0.3451, allocations: 4 kB / 0.5771 GB, free: 13.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/0.3452, allocations: 64.33 kB / 0.5772 GB, free: 13.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3452, allocations: 0 / 0.5772 GB, free: 13.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.847e-05/0.3452, allocations: 63.34 kB / 0.5772 GB, free: 13.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.3453, allocations: 33.69 kB / 0.5773 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3453, allocations: 0 / 0.5773 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3453, allocations: 0 / 0.5773 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3453, allocations: 0 / 0.5773 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.3453, allocations: 3.938 kB / 0.5773 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.3454, allocations: 4 kB / 0.5773 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3454, allocations: 7.969 kB / 0.5773 GB, free: 12.96 MB / 394.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 7.185e-05/0.3455, allocations: 135.5 kB / 0.5774 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3455, allocations: 11.91 kB / 0.5774 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.536e-06/0.3455, allocations: 3.125 kB / 0.5774 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3455, allocations: 3.984 kB / 0.5774 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3455, allocations: 0 / 0.5774 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3455, allocations: 0 / 0.5774 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.503e-05/0.3456, allocations: 145.6 kB / 0.5776 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3456, allocations: 4 kB / 0.5776 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3456, allocations: 4 kB / 0.5776 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3456, allocations: 0 / 0.5776 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3456, allocations: 0 / 0.5776 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3456, allocations: 0 / 0.5776 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3456, allocations: 0 / 0.5776 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.3457, allocations: 98.7 kB / 0.5777 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.3458, allocations: 77.11 kB / 0.5777 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3458, allocations: 3.984 kB / 0.5778 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.3458, allocations: 11.97 kB / 0.5778 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.3458, allocations: 3.984 kB / 0.5778 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.3458, allocations: 0 / 0.5778 GB, free: 12.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.3459, allocations: 79.22 kB / 0.5778 GB, free: 12.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3459, allocations: 0 / 0.5778 GB, free: 12.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009886/0.3558, allocations: 3.777 MB / 0.5815 GB, free: 8.508 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.01817/0.3739, allocations: 0.9948 MB / 0.5825 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.3741, allocations: 59.34 kB / 0.5826 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3741, allocations: 0 / 0.5826 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.3742, allocations: 55.41 kB / 0.5826 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3743, allocations: 4 kB / 0.5826 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.3745, allocations: 75 kB / 0.5827 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3747, allocations: 0.6731 MB / 0.5833 GB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.229e-06/0.3747, allocations: 0 / 0.5833 GB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.3748, allocations: 15.56 kB / 0.5834 GB, free: 6.578 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3748, allocations: 0 / 0.5834 GB, free: 6.578 MB / 394.7 MB Notification: Performance of Templates: time 0.357/0.7318, allocations: 112.6 MB / 0.6933 GB, free: 47.81 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1)