Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001801/0.001801, allocations: 109 kB / 20.48 MB, free: 1.477 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.002191/0.002191, allocations: 207.9 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.6 MB / 234.6 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2393/0.2393, allocations: 44.23 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002215/0.002215, allocations: 74.86 kB / 468.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.131, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001635/0.1326, allocations: 0.4988 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.1359, allocations: 2.002 MB / 0.5193 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.1359, allocations: 0 / 0.5193 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.1359, allocations: 0 / 0.5193 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.796e-06/0.1359, allocations: 4 kB / 0.5193 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.1384, allocations: 0.8136 MB / 0.5201 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.1384, allocations: 3.984 kB / 0.5201 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.1385, allocations: 4 kB / 0.5201 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.1385, allocations: 3.938 kB / 0.5202 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.607e-05/0.1385, allocations: 3.984 kB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-06/0.1385, allocations: 0 / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.1399, allocations: 0.7953 MB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.1399, allocations: 7.938 kB / 0.5209 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1399, allocations: 0 / 0.5209 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007975/0.1407, allocations: 0.5887 MB / 0.5215 GB, free: 2.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1407, allocations: 0 / 0.5215 GB, free: 2.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1407, allocations: 0 / 0.5215 GB, free: 2.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1408, allocations: 0 / 0.5215 GB, free: 2.59 MB / 398.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.0004854/0.1412, allocations: 327.5 kB / 0.5218 GB, free: 2.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.1413, allocations: 12.03 kB / 0.5218 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.19e-05/0.1413, allocations: 192 / 0.5218 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.606e-05/0.1413, allocations: 30.75 kB / 0.5219 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.1414, allocations: 4.938 kB / 0.5219 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.1414, allocations: 106.5 kB / 0.522 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1414, allocations: 384 / 0.522 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1415, allocations: 4.375 kB / 0.522 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/0.1416, allocations: 37.58 kB / 0.522 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1416, allocations: 0 / 0.522 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1416, allocations: 3.984 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1416, allocations: 0 / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.608e-05/0.1416, allocations: 0 / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1417, allocations: 128.7 kB / 0.5221 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.1418, allocations: 14.58 kB / 0.5222 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.1418, allocations: 8.859 kB / 0.5222 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1418, allocations: 3.938 kB / 0.5222 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.428e-05/0.1419, allocations: 64.3 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1419, allocations: 0 / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.1421, allocations: 67.39 kB / 0.5223 GB, free: 1.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1421, allocations: 77.11 kB / 0.5224 GB, free: 1.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.1422, allocations: 89.86 kB / 0.5225 GB, free: 1.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1422, allocations: 25.7 kB / 0.5225 GB, free: 1.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.1422, allocations: 84.14 kB / 0.5226 GB, free: 1.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1422, allocations: 0 / 0.5226 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1423, allocations: 17.7 kB / 0.5226 GB, free: 1.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1425, allocations: 314.8 kB / 0.5229 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.1425, allocations: 4.125 kB / 0.5229 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.1425, allocations: 0 / 0.5229 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.1425, allocations: 64.2 kB / 0.5229 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1425, allocations: 0 / 0.5229 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.328e-05/0.1426, allocations: 71.33 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.1427, allocations: 29.7 kB / 0.523 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1427, allocations: 4 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1427, allocations: 0 / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1427, allocations: 0 / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.1427, allocations: 8.031 kB / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.1427, allocations: 0 / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1427, allocations: 0 / 0.523 GB, free: 0.7773 MB / 398.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.0001004/0.1428, allocations: 135.5 kB / 0.5232 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1428, allocations: 7.938 kB / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-06/0.1428, allocations: 6.984 kB / 0.5232 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1428, allocations: 0 / 0.5232 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1428, allocations: 0 / 0.5232 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1428, allocations: 0 / 0.5232 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.143, allocations: 128.7 kB / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.143, allocations: 0 / 0.5233 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-06/0.143, allocations: 3.938 kB / 0.5233 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.143, allocations: 0 / 0.5233 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.143, allocations: 3.938 kB / 0.5233 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.143, allocations: 4 kB / 0.5233 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.143, allocations: 3.984 kB / 0.5233 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.1431, allocations: 82.84 kB / 0.5234 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.1431, allocations: 15.95 kB / 0.5234 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1431, allocations: 3.984 kB / 0.5234 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.1431, allocations: 0 / 0.5234 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.1431, allocations: 0 / 0.5234 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1431, allocations: 0 / 0.5234 GB, free: 316 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.1432, allocations: 79.28 kB / 0.5235 GB, free: 236 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1432, allocations: 0 / 0.5235 GB, free: 236 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004706/0.1436, allocations: 131.7 kB / 0.5236 GB, free: 104 kB / 398.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.001097/0.1447, allocations: 0.7939 MB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1448, allocations: 55.41 kB / 0.5245 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1448, allocations: 4 kB / 0.5245 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.1449, allocations: 51.41 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.145, allocations: 12.06 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.1454, allocations: 166.1 kB / 0.5247 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1457, allocations: 0.669 MB / 0.5253 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.693e-06/0.1457, allocations: 0 / 0.5253 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.1457, allocations: 7.438 kB / 0.5253 GB, free: 14.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1457, allocations: 4 kB / 0.5253 GB, free: 14.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.1717, allocations: 4.929 MB / 0.5302 GB, free: 9.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.55, allocations: 8.062 kB / 0.5302 GB, free: 9.281 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.768627761979587] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.729240613989532 11.959247083 11.815364308 Calling exit ...