Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001328/0.001328, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001424/0.001424, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.442/1.442, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.222/0.222, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.91 kB / 0.4909 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1266, allocations: 66 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001775/0.1284, allocations: 486.8 kB / 0.5558 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1308, allocations: 1.575 MB / 0.5574 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.1309, allocations: 4 kB / 0.5574 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1309, allocations: 0 / 0.5574 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.1309, allocations: 0 / 0.5574 GB, free: 3.797 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0009951/0.1319, allocations: 231.4 kB / 0.5576 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.38e-05/0.1319, allocations: 0 / 0.5576 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.132, allocations: 0 / 0.5576 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.132, allocations: 4 kB / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.535e-05/0.132, allocations: 0 / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-06/0.132, allocations: 0 / 0.5576 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1331, allocations: 0.7454 MB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.1331, allocations: 0 / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1332, allocations: 7.984 kB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.134, allocations: 0.6395 MB / 0.559 GB, free: 2.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.134, allocations: 3.938 kB / 0.559 GB, free: 2.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.134, allocations: 4 kB / 0.559 GB, free: 2.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.134, allocations: 0 / 0.559 GB, free: 2.164 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.0005645/0.1345, allocations: 373 kB / 0.5593 GB, free: 1.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1346, allocations: 8.031 kB / 0.5593 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.1346, allocations: 30.75 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1347, allocations: 0.9375 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1348, allocations: 164.4 kB / 0.5595 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1348, allocations: 4.375 kB / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.1348, allocations: 384 / 0.5595 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.442e-05/0.1349, allocations: 37.81 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1349, allocations: 0 / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-06/0.1349, allocations: 4 kB / 0.5596 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1349, allocations: 0 / 0.5596 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.1349, allocations: 7.938 kB / 0.5596 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1351, allocations: 145.7 kB / 0.5597 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.1351, allocations: 22.59 kB / 0.5597 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.1351, allocations: 8.859 kB / 0.5597 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.1351, allocations: 0 / 0.5597 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.1352, allocations: 60.2 kB / 0.5598 GB, free: 1.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1352, allocations: 4.062 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001846/0.1354, allocations: 71.27 kB / 0.5599 GB, free: 1.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1354, allocations: 81.11 kB / 0.5599 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.1355, allocations: 93.81 kB / 0.56 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1355, allocations: 25.7 kB / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.1355, allocations: 84.27 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.1356, allocations: 0 / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1356, allocations: 17.72 kB / 0.5602 GB, free: 0.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1357, allocations: 310.8 kB / 0.5604 GB, free: 404 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.1357, allocations: 0 / 0.5604 GB, free: 404 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.1357, allocations: 3.938 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/0.1358, allocations: 64.25 kB / 0.5605 GB, free: 320 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1358, allocations: 8 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.866e-05/0.1359, allocations: 63.41 kB / 0.5606 GB, free: 236 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.1359, allocations: 35.52 kB / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1359, allocations: 0 / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.136, allocations: 0 / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.136, allocations: 0 / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.136, allocations: 4 kB / 0.5606 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.136, allocations: 0 / 0.5606 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.136, allocations: 3.984 kB / 0.5606 GB, free: 188 kB / 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 0.0001235/0.1361, allocations: 141.8 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1361, allocations: 3.938 kB / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-06/0.1361, allocations: 3.125 kB / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1361, allocations: 0 / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1361, allocations: 0 / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.1361, allocations: 0 / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1363, allocations: 149.7 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1363, allocations: 0 / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1363, allocations: 0 / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1363, allocations: 3.938 kB / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1363, allocations: 0 / 0.5609 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1363, allocations: 4 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1363, allocations: 3.938 kB / 0.5609 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1364, allocations: 90.83 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.1364, allocations: 81.05 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1364, allocations: 4 kB / 0.5611 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/0.1365, allocations: 4 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.1365, allocations: 0 / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1365, allocations: 8.031 kB / 0.5611 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.1365, allocations: 75.28 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1365, allocations: 0 / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.137, allocations: 119.9 kB / 0.5613 GB, free: 15.4 MB / 430.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.001105/0.1381, allocations: 0.7187 MB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1382, allocations: 63.41 kB / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1382, allocations: 0 / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.1382, allocations: 59.45 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1384, allocations: 4 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.1388, allocations: 126.6 kB / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.139, allocations: 0.669 MB / 0.5629 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.091e-06/0.1391, allocations: 3.938 kB / 0.5629 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.1391, allocations: 11.44 kB / 0.5629 GB, free: 13.63 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1391, allocations: 0 / 0.5629 GB, free: 13.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1681, allocations: 4.731 MB / 0.5675 GB, free: 8.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.24, allocations: 3.984 kB / 0.5675 GB, free: 8.953 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.014670385047793] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.309112911112607 8.334202848 8.195527172 Calling exit ...