Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0018/0.0018, allocations: 109 kB / 20.48 MB, free: 1.492 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.002136/0.002136, allocations: 214 kB / 23.79 MB, free: 4.707 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.512/1.512, allocations: 207.6 MB / 234.6 MB, free: 10 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.2426/0.2426, allocations: 44.25 MB / 331.1 MB, free: 9.527 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.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",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.003134/0.003134, allocations: 68.52 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1304, allocations: 61.04 MB / 0.5169 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001606/0.1321, allocations: 0.4979 MB / 0.5174 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1341, allocations: 1.57 MB / 0.5189 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1342, allocations: 0 / 0.5189 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.1342, allocations: 7.938 kB / 0.5189 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.1342, allocations: 0 / 0.5189 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009403/0.1351, allocations: 251.3 kB / 0.5192 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.1352, allocations: 3.984 kB / 0.5192 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.1352, allocations: 4 kB / 0.5192 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.1352, allocations: 4 kB / 0.5192 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.1353, allocations: 0 / 0.5192 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.1353, allocations: 0 / 0.5192 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1364, allocations: 0.8038 MB / 0.52 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.1365, allocations: 0 / 0.52 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1365, allocations: 4 kB / 0.52 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.1373, allocations: 0.6515 MB / 0.5206 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1373, allocations: 0 / 0.5206 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1373, allocations: 0 / 0.5206 GB, free: 3.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1373, allocations: 4 kB / 0.5206 GB, free: 3.543 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.0004862/0.1378, allocations: 283.9 kB / 0.5209 GB, free: 3.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1378, allocations: 12.03 kB / 0.5209 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.1378, allocations: 4.188 kB / 0.5209 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1379, allocations: 38.75 kB / 0.5209 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1379, allocations: 0.9375 kB / 0.5209 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.138, allocations: 110.5 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.138, allocations: 4.375 kB / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.138, allocations: 384 / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1381, allocations: 29.64 kB / 0.5211 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1381, allocations: 4 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1381, allocations: 0 / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1381, allocations: 0 / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.1381, allocations: 4 kB / 0.5211 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.1383, allocations: 124.7 kB / 0.5212 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.1383, allocations: 22.52 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.1383, allocations: 4.859 kB / 0.5212 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1384, allocations: 3.938 kB / 0.5212 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.1384, allocations: 60.33 kB / 0.5213 GB, free: 2.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1384, allocations: 0 / 0.5213 GB, free: 2.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001972/0.1386, allocations: 71.39 kB / 0.5213 GB, free: 2.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1387, allocations: 77.11 kB / 0.5214 GB, free: 2.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.1387, allocations: 89.86 kB / 0.5215 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1387, allocations: 25.7 kB / 0.5215 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.1388, allocations: 84.08 kB / 0.5216 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1388, allocations: 0 / 0.5216 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.1388, allocations: 13.72 kB / 0.5216 GB, free: 2.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.139, allocations: 315 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.139, allocations: 0 / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.139, allocations: 0 / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.1391, allocations: 68.25 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1391, allocations: 3.938 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.05e-05/0.1392, allocations: 63.34 kB / 0.522 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.1392, allocations: 29.7 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1392, allocations: 0 / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1392, allocations: 4 kB / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1392, allocations: 4.094 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1392, allocations: 3.938 kB / 0.5221 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.1392, allocations: 3.984 kB / 0.5221 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1393, allocations: 0 / 0.5221 GB, free: 1.77 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.884e-05/0.1394, allocations: 139.5 kB / 0.5222 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.1394, allocations: 3.938 kB / 0.5222 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-06/0.1394, allocations: 3 kB / 0.5222 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1394, allocations: 0 / 0.5222 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1394, allocations: 3.984 kB / 0.5222 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1394, allocations: 4 kB / 0.5222 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.1395, allocations: 128.7 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.1395, allocations: 0 / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-06/0.1395, allocations: 3.938 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1395, allocations: 0 / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1395, allocations: 0 / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1395, allocations: 4 kB / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1395, allocations: 4 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.1396, allocations: 90.83 kB / 0.5225 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.1396, allocations: 7.938 kB / 0.5225 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1396, allocations: 0 / 0.5225 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.1396, allocations: 7.875 kB / 0.5225 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1396, allocations: 0 / 0.5225 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.1396, allocations: 0 / 0.5225 GB, free: 1.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.061e-05/0.1397, allocations: 75.31 kB / 0.5225 GB, free: 1.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1397, allocations: 4 kB / 0.5226 GB, free: 1.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004558/0.1402, allocations: 123.9 kB / 0.5227 GB, free: 1.098 MB / 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.001079/0.1412, allocations: 0.7008 MB / 0.5234 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.585e-05/0.1413, allocations: 67.34 kB / 0.5234 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1413, allocations: 0 / 0.5234 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.1414, allocations: 59.39 kB / 0.5235 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1415, allocations: 0 / 0.5235 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.1419, allocations: 126.4 kB / 0.5236 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1422, allocations: 0.6769 MB / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.432e-06/0.1422, allocations: 0 / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.1423, allocations: 7.438 kB / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1423, allocations: 0 / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1676, allocations: 4.878 MB / 0.529 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.32, allocations: 8.047 kB / 0.529 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.545554561947938] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.483217011031229 11.693515216 11.553358117 Calling exit ...