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.00182/0.00182, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002382/0.002382, allocations: 214.4 kB / 22.99 MB, free: 4.977 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.7 MB / 233.8 MB, free: 9.797 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.2275/0.2275, allocations: 44.27 MB / 330.3 MB, free: 9.297 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.002275/0.002275, allocations: 72.98 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1153, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001719/0.117, allocations: 0.491 MB / 0.5166 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.1201, allocations: 1.901 MB / 0.5185 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1201, allocations: 0 / 0.5185 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.1201, allocations: 7.938 kB / 0.5185 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.1201, allocations: 0 / 0.5185 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.1223, allocations: 0.7824 MB / 0.5192 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.591e-05/0.1224, allocations: 0 / 0.5192 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1224, allocations: 4 kB / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.1225, allocations: 0 / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/0.1225, allocations: 0 / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.1225, allocations: 0 / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.1237, allocations: 0.7173 MB / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.1238, allocations: 0 / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.1238, allocations: 0 / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.1246, allocations: 0.5731 MB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1246, allocations: 0 / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1246, allocations: 0 / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1246, allocations: 0 / 0.5205 GB, free: 2.688 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.0004612/0.125, allocations: 327.5 kB / 0.5208 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1251, allocations: 15.97 kB / 0.5208 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1251, allocations: 30.75 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.1251, allocations: 0.9375 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1252, allocations: 114.5 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1252, allocations: 4.375 kB / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1253, allocations: 384 / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1254, allocations: 59.53 kB / 0.521 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1254, allocations: 4 kB / 0.521 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.1254, allocations: 0 / 0.521 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1254, allocations: 0 / 0.521 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.1254, allocations: 25.7 kB / 0.5211 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1256, allocations: 120.8 kB / 0.5212 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.044e-05/0.1256, allocations: 44.22 kB / 0.5212 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1256, allocations: 42.66 kB / 0.5213 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.1257, allocations: 3.938 kB / 0.5213 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1257, allocations: 60.2 kB / 0.5213 GB, free: 1.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1257, allocations: 0 / 0.5213 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001839/0.1259, allocations: 114.8 kB / 0.5214 GB, free: 1.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.126, allocations: 85.11 kB / 0.5215 GB, free: 1.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.126, allocations: 89.86 kB / 0.5216 GB, free: 1.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.126, allocations: 25.7 kB / 0.5216 GB, free: 1.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.1261, allocations: 80.14 kB / 0.5217 GB, free: 1.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1261, allocations: 3.938 kB / 0.5217 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1261, allocations: 17.84 kB / 0.5217 GB, free: 1.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1262, allocations: 314.8 kB / 0.522 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.1263, allocations: 25.7 kB / 0.522 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.1263, allocations: 29.7 kB / 0.5221 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.1263, allocations: 64.27 kB / 0.5221 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1263, allocations: 4 kB / 0.5221 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.289e-05/0.1264, allocations: 85.09 kB / 0.5222 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.1265, allocations: 37.64 kB / 0.5223 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1265, allocations: 0 / 0.5223 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1265, allocations: 4.094 kB / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1265, allocations: 0 / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1265, allocations: 3.938 kB / 0.5223 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.1265, allocations: 0 / 0.5223 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1265, allocations: 11.92 kB / 0.5223 GB, free: 0.5781 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.0001019/0.1266, allocations: 135.5 kB / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.1266, allocations: 7.922 kB / 0.5224 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-06/0.1266, allocations: 7 kB / 0.5224 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1266, allocations: 0 / 0.5224 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1266, allocations: 0 / 0.5224 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1266, allocations: 0 / 0.5224 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.528e-05/0.1267, allocations: 116.8 kB / 0.5225 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1267, allocations: 0 / 0.5225 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-06/0.1267, allocations: 4 kB / 0.5225 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1267, allocations: 7.938 kB / 0.5225 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1267, allocations: 3.984 kB / 0.5225 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.1267, allocations: 0 / 0.5225 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1267, allocations: 0 / 0.5225 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.1269, allocations: 112.5 kB / 0.5227 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.1269, allocations: 7.922 kB / 0.5227 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1269, allocations: 4 kB / 0.5227 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.1269, allocations: 8.031 kB / 0.5227 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.1269, allocations: 7.922 kB / 0.5227 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1269, allocations: 0 / 0.5227 GB, free: 80 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.1269, allocations: 79.22 kB / 0.5228 GB, free: 0 / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1269, allocations: 0 / 0.5228 GB, free: 0 / 398.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1274, allocations: 131.7 kB / 0.5229 GB, free: 15.87 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.001046/0.1284, allocations: 0.8152 MB / 0.5237 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.1285, allocations: 122.8 kB / 0.5238 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1285, allocations: 3.938 kB / 0.5238 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.675e-05/0.1286, allocations: 81.11 kB / 0.5239 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.1287, allocations: 0 / 0.5239 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.1291, allocations: 187.9 kB / 0.5241 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.1292, allocations: 55.36 kB / 0.5241 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.46e-06/0.1292, allocations: 0 / 0.5241 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.1292, allocations: 7.438 kB / 0.5241 GB, free: 14.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1292, allocations: 0 / 0.5241 GB, free: 14.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.1603, allocations: 5.309 MB / 0.5293 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.47, allocations: 5.156 kB / 0.5293 GB, free: 9.137 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.437370884697884] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.581316794734448 11.809207057 11.681779129 Calling exit ...