Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 114.8 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 66.25 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 65.42 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001599/0.12, allocations: 0.491 MB / 0.5529 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.123, allocations: 2.152 MB / 0.555 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/0.123, allocations: 4 kB / 0.555 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.123, allocations: 7.938 kB / 0.555 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.123, allocations: 0 / 0.555 GB, free: 7.484 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001917/0.1249, allocations: 0.7237 MB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.125, allocations: 3.938 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.125, allocations: 4 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.125, allocations: 0 / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.1251, allocations: 0 / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-06/0.1251, allocations: 0 / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.1271, allocations: 1.584 MB / 0.5573 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.1271, allocations: 4 kB / 0.5573 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.1271, allocations: 0 / 0.5573 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.1287, allocations: 1.556 MB / 0.5588 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1287, allocations: 0 / 0.5588 GB, free: 3.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1287, allocations: 0 / 0.5588 GB, free: 3.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1287, allocations: 0 / 0.5588 GB, free: 3.613 MB / 414.1 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.0005892/0.1293, allocations: 422.5 kB / 0.5592 GB, free: 3.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1293, allocations: 12.03 kB / 0.5592 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.257e-05/0.1294, allocations: 192 / 0.5592 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.863e-05/0.1294, allocations: 34.75 kB / 0.5592 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.1294, allocations: 0.9375 kB / 0.5592 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1295, allocations: 172.3 kB / 0.5594 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1295, allocations: 4.125 kB / 0.5594 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.1296, allocations: 0 / 0.5594 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.625e-05/0.1296, allocations: 29.7 kB / 0.5594 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1296, allocations: 0 / 0.5594 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1297, allocations: 4 kB / 0.5594 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1297, allocations: 0 / 0.5594 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.744e-05/0.1297, allocations: 0 / 0.5594 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1298, allocations: 149.6 kB / 0.5596 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.1299, allocations: 30.44 kB / 0.5596 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1299, allocations: 12.84 kB / 0.5596 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.1299, allocations: 96 / 0.5596 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.1299, allocations: 64.27 kB / 0.5597 GB, free: 2.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1299, allocations: 0 / 0.5597 GB, free: 2.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001762/0.1301, allocations: 67.34 kB / 0.5597 GB, free: 2.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.1302, allocations: 77.11 kB / 0.5598 GB, free: 2.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.1302, allocations: 93.8 kB / 0.5599 GB, free: 2.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1302, allocations: 29.7 kB / 0.5599 GB, free: 2.207 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.1303, allocations: 84.14 kB / 0.56 GB, free: 2.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1303, allocations: 0 / 0.56 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1303, allocations: 17.84 kB / 0.56 GB, free: 2.098 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1305, allocations: 310.8 kB / 0.5603 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.1305, allocations: 0 / 0.5603 GB, free: 1.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.1305, allocations: 4 kB / 0.5603 GB, free: 1.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.1305, allocations: 60.25 kB / 0.5604 GB, free: 1.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1305, allocations: 3.938 kB / 0.5604 GB, free: 1.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.412e-05/0.1306, allocations: 67.34 kB / 0.5605 GB, free: 1.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.1306, allocations: 33.7 kB / 0.5605 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1306, allocations: 4.094 kB / 0.5605 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1306, allocations: 0 / 0.5605 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1306, allocations: 3.938 kB / 0.5605 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1307, allocations: 0 / 0.5605 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.1307, allocations: 0 / 0.5605 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1307, allocations: 4 kB / 0.5605 GB, free: 1.574 MB / 414.1 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 9.828e-05/0.1308, allocations: 145.7 kB / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-06/0.1308, allocations: 0 / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-06/0.1308, allocations: 3.125 kB / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1308, allocations: 4 kB / 0.5607 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1308, allocations: 0 / 0.5607 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1308, allocations: 4 kB / 0.5607 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1309, allocations: 153.6 kB / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1309, allocations: 0 / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.1309, allocations: 0 / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1309, allocations: 0 / 0.5608 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.1309, allocations: 3.938 kB / 0.5608 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1309, allocations: 4 kB / 0.5608 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1309, allocations: 0 / 0.5608 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.534e-05/0.131, allocations: 94.77 kB / 0.5609 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.131, allocations: 81.05 kB / 0.561 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1311, allocations: 4 kB / 0.561 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.1311, allocations: 0 / 0.561 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-06/0.1311, allocations: 0 / 0.561 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1311, allocations: 3.984 kB / 0.561 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.1311, allocations: 75.28 kB / 0.5611 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1311, allocations: 32 / 0.5611 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000764/0.1319, allocations: 283.6 kB / 0.5613 GB, free: 0.6289 MB / 414.1 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.001591/0.1335, allocations: 0.9294 MB / 0.5622 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.606e-05/0.1336, allocations: 59.34 kB / 0.5623 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1336, allocations: 0 / 0.5623 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.1336, allocations: 59.47 kB / 0.5623 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1337, allocations: 6.188 kB / 0.5624 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1342, allocations: 174.2 kB / 0.5625 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1345, allocations: 0.669 MB / 0.5632 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.929e-06/0.1345, allocations: 0 / 0.5632 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1345, allocations: 7.438 kB / 0.5632 GB, free: 14.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1345, allocations: 0 / 0.5632 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.1608, allocations: 8.264 MB / 0.5713 GB, free: 6.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.475, allocations: 14.3 kB / 0.5713 GB, free: 6.414 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.293655745976139] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.602503434987739 8.624557476 8.491846659 Calling exit ...