Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008699/0.0008699, allocations: 95.31 kB / 299.8 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.3055/0.3055, allocations: 45.01 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 470.8 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3064, allocations: 63.09 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0005579/0.307, allocations: 228.4 kB / 0.5216 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3095, allocations: 3.038 MB / 0.5245 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.3095, allocations: 4 kB / 0.5245 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.3096, allocations: 0 / 0.5245 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.359e-06/0.3096, allocations: 0 / 0.5245 GB, free: 35.7 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2b‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3111, allocations: 0.6348 MB / 0.5252 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.448e-05/0.3111, allocations: 7.984 kB / 0.5252 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.3112, allocations: 6.438 kB / 0.5252 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.3112, allocations: 4 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.193e-05/0.3112, allocations: 3.938 kB / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-06/0.3113, allocations: 0 / 0.5252 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.3127, allocations: 1.358 MB / 0.5265 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.3127, allocations: 0 / 0.5265 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.3127, allocations: 25.7 kB / 0.5265 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.314, allocations: 1.541 MB / 0.528 GB, free: 34.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.314, allocations: 0 / 0.528 GB, free: 34.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.314, allocations: 0 / 0.528 GB, free: 34.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.314, allocations: 4 kB / 0.528 GB, free: 34.89 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.000427/0.3144, allocations: 415.8 kB / 0.5284 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3145, allocations: 11.56 kB / 0.5285 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.3145, allocations: 0.9375 kB / 0.5285 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.794e-05/0.3146, allocations: 164.4 kB / 0.5286 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3146, allocations: 4.266 kB / 0.5286 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3146, allocations: 8.062 kB / 0.5286 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.384e-05/0.3147, allocations: 28.61 kB / 0.5287 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3147, allocations: 3.984 kB / 0.5287 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.3147, allocations: 4 kB / 0.5287 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3147, allocations: 2.938 kB / 0.5287 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.396e-05/0.3147, allocations: 0 / 0.5287 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.95e-05/0.3148, allocations: 144.7 kB / 0.5288 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.913e-05/0.3148, allocations: 21.58 kB / 0.5288 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.3149, allocations: 15.64 kB / 0.5288 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.3149, allocations: 0 / 0.5288 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3149, allocations: 60.27 kB / 0.5289 GB, free: 33.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3149, allocations: 0 / 0.5289 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.3151, allocations: 62.59 kB / 0.529 GB, free: 33.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.3151, allocations: 81.11 kB / 0.529 GB, free: 33.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.902e-05/0.3151, allocations: 89.86 kB / 0.5291 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.3151, allocations: 25.7 kB / 0.5291 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-06/0.3151, allocations: 80.14 kB / 0.5292 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3152, allocations: 2.938 kB / 0.5292 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.3152, allocations: 4.125 kB / 0.5292 GB, free: 33.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.3152, allocations: 313.1 kB / 0.5295 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.3152, allocations: 7.875 kB / 0.5295 GB, free: 33.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.3152, allocations: 2.906 kB / 0.5295 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.3153, allocations: 59.27 kB / 0.5296 GB, free: 33.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3153, allocations: 0 / 0.5296 GB, free: 33.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.397e-05/0.3153, allocations: 68 kB / 0.5297 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3154, allocations: 31.77 kB / 0.5297 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3154, allocations: 4.094 kB / 0.5297 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3154, allocations: 0 / 0.5297 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.3154, allocations: 3.188 kB / 0.5297 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3154, allocations: 0 / 0.5297 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.301e-05/0.3154, allocations: 6.969 kB / 0.5297 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3154, allocations: 0 / 0.5297 GB, free: 33.04 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 4.442e-05/0.3155, allocations: 140.5 kB / 0.5298 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.3155, allocations: 3.938 kB / 0.5298 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-06/0.3155, allocations: 3.125 kB / 0.5298 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.3155, allocations: 4 kB / 0.5298 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3155, allocations: 0 / 0.5298 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3155, allocations: 6.359 kB / 0.5298 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.449e-05/0.3156, allocations: 149.7 kB / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3156, allocations: 3.938 kB / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3156, allocations: 0 / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3156, allocations: 2.969 kB / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.3156, allocations: 0 / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3156, allocations: 0 / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3156, allocations: 2.859 kB / 0.53 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.9e-05/0.3157, allocations: 93.58 kB / 0.5301 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.3157, allocations: 84.95 kB / 0.5302 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.3157, allocations: 0 / 0.5302 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.3157, allocations: 2.781 kB / 0.5302 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-06/0.3157, allocations: 0 / 0.5302 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3157, allocations: 4 kB / 0.5302 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.425e-05/0.3158, allocations: 79.22 kB / 0.5303 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3158, allocations: 4.031 kB / 0.5303 GB, free: 32.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006292/0.3164, allocations: 273.3 kB / 0.5305 GB, free: 32.37 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.001062/0.3175, allocations: 417 kB / 0.5309 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.475e-05/0.3176, allocations: 63.62 kB / 0.531 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3176, allocations: 0 / 0.531 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.3176, allocations: 55.75 kB / 0.531 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.3177, allocations: 7.844 kB / 0.531 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001445/0.3179, allocations: 77.73 kB / 0.5311 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.318, allocations: 0.6748 MB / 0.5318 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.771e-06/0.318, allocations: 0 / 0.5318 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-06/0.318, allocations: 9.625 kB / 0.5318 GB, free: 31.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.318, allocations: 0 / 0.5318 GB, free: 31.29 MB / 378.7 MB Notification: Performance of Templates: time 0.01305/0.3311, allocations: 7.402 MB / 0.539 GB, free: 29.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)