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.001514/0.001514, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001594/0.001594, allocations: 222.6 kB / 23.01 MB, free: 5.039 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.399/1.399, allocations: 207.6 MB / 233.8 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.221/0.221, allocations: 44.23 MB / 330.3 MB, free: 9.5 MB / 270.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",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.002554/0.002554, allocations: 68.28 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1206, allocations: 61.04 MB / 0.5161 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001743/0.1223, allocations: 0.5065 MB / 0.5166 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.1255, allocations: 1.998 MB / 0.5186 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.1255, allocations: 0 / 0.5186 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.1255, allocations: 0 / 0.5186 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-06/0.1255, allocations: 0 / 0.5186 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.1279, allocations: 0.8214 MB / 0.5194 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.128, allocations: 0 / 0.5194 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.128, allocations: 0 / 0.5194 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.128, allocations: 7.938 kB / 0.5194 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.399e-05/0.128, allocations: 4 kB / 0.5194 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.128, allocations: 0 / 0.5194 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.1295, allocations: 0.7875 MB / 0.5202 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.1295, allocations: 0 / 0.5202 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1295, allocations: 4 kB / 0.5202 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1306, allocations: 0.5887 MB / 0.5207 GB, free: 2.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.1306, allocations: 4 kB / 0.5207 GB, free: 2.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1306, allocations: 0 / 0.5207 GB, free: 2.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1306, allocations: 0 / 0.5207 GB, free: 2.578 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.0006022/0.1312, allocations: 331.5 kB / 0.5211 GB, free: 2.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1312, allocations: 8.031 kB / 0.5211 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1313, allocations: 38.69 kB / 0.5211 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1313, allocations: 0.9375 kB / 0.5211 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.1314, allocations: 110.5 kB / 0.5212 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1314, allocations: 384 / 0.5212 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1314, allocations: 4.312 kB / 0.5212 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.1315, allocations: 33.83 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1315, allocations: 0 / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1315, allocations: 0 / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1315, allocations: 0 / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.1315, allocations: 4 kB / 0.5212 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.1317, allocations: 116.8 kB / 0.5214 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.1317, allocations: 30.44 kB / 0.5214 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.1317, allocations: 8.953 kB / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.1317, allocations: 0 / 0.5214 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.1318, allocations: 60.2 kB / 0.5215 GB, free: 1.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1318, allocations: 0 / 0.5215 GB, free: 1.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.132, allocations: 67.34 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.132, allocations: 81.22 kB / 0.5216 GB, free: 1.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.1321, allocations: 93.86 kB / 0.5217 GB, free: 1.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1321, allocations: 25.7 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.1321, allocations: 84.14 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.1322, allocations: 0 / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.1322, allocations: 9.719 kB / 0.5218 GB, free: 1.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1323, allocations: 310.8 kB / 0.5221 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.1323, allocations: 4 kB / 0.5221 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.1323, allocations: 4 kB / 0.5221 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.1324, allocations: 68.33 kB / 0.5222 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1324, allocations: 0 / 0.5222 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.589e-05/0.1325, allocations: 67.31 kB / 0.5222 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.1325, allocations: 37.64 kB / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1325, allocations: 0 / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1325, allocations: 0 / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.1325, allocations: 0 / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1325, allocations: 3.984 kB / 0.5223 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.1326, allocations: 0 / 0.5223 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1326, allocations: 8.031 kB / 0.5223 GB, free: 0.7578 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 9.047e-05/0.1327, allocations: 139.5 kB / 0.5224 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1327, allocations: 3.938 kB / 0.5224 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-06/0.1327, allocations: 7 kB / 0.5224 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1327, allocations: 0 / 0.5224 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1327, allocations: 0 / 0.5224 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1327, allocations: 0 / 0.5224 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.1328, allocations: 120.8 kB / 0.5225 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1328, allocations: 0 / 0.5225 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1328, allocations: 8 kB / 0.5225 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1328, allocations: 3.938 kB / 0.5226 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1328, allocations: 3.938 kB / 0.5226 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1328, allocations: 3.938 kB / 0.5226 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1328, allocations: 0 / 0.5226 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.1329, allocations: 94.77 kB / 0.5226 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.1329, allocations: 3.938 kB / 0.5227 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1329, allocations: 0 / 0.5227 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.1329, allocations: 8.031 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.1329, allocations: 0 / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1329, allocations: 0 / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.154e-05/0.133, allocations: 75.28 kB / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.133, allocations: 0 / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.1335, allocations: 139.7 kB / 0.5229 GB, free: 80 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.001123/0.1346, allocations: 0.7825 MB / 0.5236 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1347, allocations: 63.33 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1347, allocations: 0 / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.1347, allocations: 59.41 kB / 0.5237 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1349, allocations: 0 / 0.5237 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.1353, allocations: 162.3 kB / 0.5239 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1356, allocations: 0.669 MB / 0.5246 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.229e-06/0.1356, allocations: 0 / 0.5246 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.1356, allocations: 11.44 kB / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1356, allocations: 0 / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.168, allocations: 4.909 MB / 0.5294 GB, free: 9.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.25, allocations: 7.859 kB / 0.5294 GB, free: 9.289 MB / 414.1 MB " [Timeout remaining time 649] (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.20895762508735] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.354166410164908 11.586278391 11.452237277 Calling exit ...