Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.001732/0.001732, allocations: 116.2 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.002062/0.002062, allocations: 218.9 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.439/1.439, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2445/0.2445, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 71.88 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1265, allocations: 65.99 MB / 0.556 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00175/0.1283, allocations: 0.4915 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1297, allocations: 0.7704 MB / 0.5573 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.1297, allocations: 0 / 0.5573 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.1297, allocations: 4 kB / 0.5573 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.559e-05/0.1297, allocations: 0 / 0.5573 GB, free: 4.555 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1315, allocations: 0.6654 MB / 0.5579 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.344e-05/0.1315, allocations: 0 / 0.5579 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.1316, allocations: 4 kB / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.444e-05/0.1316, allocations: 0 / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.525e-05/0.1316, allocations: 0 / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.1316, allocations: 3.984 kB / 0.5579 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.1323, allocations: 415.2 kB / 0.5583 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-06/0.1323, allocations: 4 kB / 0.5583 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.1323, allocations: 0 / 0.5583 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.1328, allocations: 343.2 kB / 0.5587 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1328, allocations: 0 / 0.5587 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1328, allocations: 3.938 kB / 0.5587 GB, free: 3.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1328, allocations: 0 / 0.5587 GB, free: 3.129 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.0004546/0.1333, allocations: 392.7 kB / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1333, allocations: 12.03 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.1333, allocations: 192 / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.1334, allocations: 30.75 kB / 0.5591 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.1334, allocations: 0.9375 kB / 0.5591 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.1335, allocations: 164.4 kB / 0.5592 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1335, allocations: 4.375 kB / 0.5592 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.1335, allocations: 4.312 kB / 0.5592 GB, free: 2.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1336, allocations: 34 kB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1336, allocations: 0 / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1337, allocations: 4 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1337, allocations: 0 / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.1337, allocations: 3.938 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1338, allocations: 149.7 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.1339, allocations: 18.61 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.1339, allocations: 4.859 kB / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1339, allocations: 0 / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.134, allocations: 64.19 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.134, allocations: 0 / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.1341, allocations: 67.41 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.1342, allocations: 81.23 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.1342, allocations: 97.81 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1343, allocations: 25.7 kB / 0.5598 GB, free: 1.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1343, allocations: 84.12 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1343, allocations: 3.984 kB / 0.5599 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1343, allocations: 9.719 kB / 0.5599 GB, free: 1.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1345, allocations: 318.8 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.1345, allocations: 3.938 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.1345, allocations: 4 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.1345, allocations: 60.27 kB / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1345, allocations: 0 / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.958e-05/0.1346, allocations: 67.33 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.1347, allocations: 33.64 kB / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1347, allocations: 0 / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1347, allocations: 0 / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1347, allocations: 0 / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1347, allocations: 4 kB / 0.5603 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.1347, allocations: 8.094 kB / 0.5603 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1347, allocations: 0 / 0.5603 GB, free: 1.125 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.891e-05/0.1348, allocations: 137.7 kB / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.1348, allocations: 7.938 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-06/0.1348, allocations: 3.125 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1348, allocations: 0 / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1348, allocations: 3.938 kB / 0.5605 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.1348, allocations: 0 / 0.5605 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1349, allocations: 149.7 kB / 0.5606 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1349, allocations: 7.984 kB / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.1349, allocations: 3.984 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1349, allocations: 3.938 kB / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1349, allocations: 0 / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.135, allocations: 0 / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.135, allocations: 0 / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1351, allocations: 94.78 kB / 0.5607 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.1351, allocations: 81.09 kB / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1351, allocations: 7.969 kB / 0.5608 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.1351, allocations: 4 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.1351, allocations: 4 kB / 0.5608 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1351, allocations: 0 / 0.5608 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.1352, allocations: 75.28 kB / 0.5609 GB, free: 460 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1352, allocations: 0 / 0.5609 GB, free: 460 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1355, allocations: 83.73 kB / 0.561 GB, free: 376 kB / 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.0008328/0.1363, allocations: 0.7505 MB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1364, allocations: 63.39 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1364, allocations: 0 / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.1365, allocations: 55.41 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.1366, allocations: 7.938 kB / 0.5618 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.1369, allocations: 150.5 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1372, allocations: 0.6729 MB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.1372, allocations: 0 / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.1373, allocations: 11.42 kB / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1373, allocations: 0 / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.1556, allocations: 2.848 MB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.196, allocations: 7.984 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.049514127022121] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.320182648021728 8.342007975 8.204997556 Calling exit ...