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.001282/0.001282, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001439/0.001439, allocations: 216.5 kB / 23.78 MB, free: 4.551 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.525/1.525, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2447/0.2447, allocations: 44.27 MB / 331.1 MB, free: 9.309 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.002145/0.002145, allocations: 71.91 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1189, allocations: 61.04 MB / 0.5169 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001649/0.1205, allocations: 0.4988 MB / 0.5174 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1226, allocations: 1.503 MB / 0.5189 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.1227, allocations: 7.938 kB / 0.5189 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.1227, allocations: 0 / 0.5189 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.1227, allocations: 0 / 0.5189 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009586/0.1236, allocations: 251.3 kB / 0.5191 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.1237, allocations: 4 kB / 0.5191 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.1237, allocations: 11.97 kB / 0.5191 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.1237, allocations: 0 / 0.5191 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.717e-05/0.1238, allocations: 4 kB / 0.5191 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.1238, allocations: 0 / 0.5191 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1248, allocations: 0.6791 MB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.1248, allocations: 0 / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.1248, allocations: 3.938 kB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.1256, allocations: 0.6241 MB / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1256, allocations: 0 / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1256, allocations: 0 / 0.5204 GB, free: 3.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1256, allocations: 0 / 0.5204 GB, free: 3.598 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.0004311/0.126, allocations: 287.9 kB / 0.5207 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1261, allocations: 12.03 kB / 0.5207 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.234e-05/0.1261, allocations: 192 / 0.5207 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.1261, allocations: 34.75 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.1261, allocations: 0.9375 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.1262, allocations: 106.5 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1262, allocations: 4.375 kB / 0.5208 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1262, allocations: 384 / 0.5208 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1263, allocations: 55.34 kB / 0.5209 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1263, allocations: 7.938 kB / 0.5209 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1264, allocations: 0 / 0.5209 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1264, allocations: 0 / 0.5209 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.33e-05/0.1264, allocations: 29.7 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.1266, allocations: 124.7 kB / 0.521 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.1267, allocations: 44.28 kB / 0.5211 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.1267, allocations: 34.66 kB / 0.5211 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1267, allocations: 3.938 kB / 0.5211 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.1267, allocations: 64.2 kB / 0.5212 GB, free: 2.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1267, allocations: 0 / 0.5212 GB, free: 2.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.1269, allocations: 118.7 kB / 0.5213 GB, free: 2.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.127, allocations: 81.11 kB / 0.5214 GB, free: 2.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.127, allocations: 93.86 kB / 0.5215 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.127, allocations: 25.7 kB / 0.5215 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.1271, allocations: 80.27 kB / 0.5216 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1271, allocations: 4 kB / 0.5216 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1271, allocations: 13.72 kB / 0.5216 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1272, allocations: 314.8 kB / 0.5219 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.1273, allocations: 25.7 kB / 0.5219 GB, free: 1.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.1273, allocations: 29.7 kB / 0.5219 GB, free: 1.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/0.1273, allocations: 64.2 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1273, allocations: 4 kB / 0.522 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.072e-05/0.1274, allocations: 89.03 kB / 0.5221 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.1275, allocations: 33.8 kB / 0.5221 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1275, allocations: 4 kB / 0.5221 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1275, allocations: 0 / 0.5221 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.1275, allocations: 0 / 0.5221 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1275, allocations: 0 / 0.5221 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.1275, allocations: 0 / 0.5221 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1275, allocations: 4 kB / 0.5221 GB, free: 1.543 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.511e-05/0.1276, allocations: 139.5 kB / 0.5222 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.1276, allocations: 7.922 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-06/0.1276, allocations: 7 kB / 0.5223 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1276, allocations: 0 / 0.5223 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1276, allocations: 8 kB / 0.5223 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1276, allocations: 0 / 0.5223 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.1277, allocations: 116.7 kB / 0.5224 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1277, allocations: 0 / 0.5224 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-06/0.1277, allocations: 7.938 kB / 0.5224 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-07/0.1277, allocations: 0 / 0.5224 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1277, allocations: 3.938 kB / 0.5224 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1277, allocations: 7.922 kB / 0.5224 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1277, allocations: 0 / 0.5224 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1278, allocations: 112.5 kB / 0.5225 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.1278, allocations: 11.95 kB / 0.5225 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1278, allocations: 4 kB / 0.5225 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-06/0.1278, allocations: 0 / 0.5225 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.1279, allocations: 0 / 0.5225 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1279, allocations: 0 / 0.5225 GB, free: 1.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.1279, allocations: 79.28 kB / 0.5226 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1279, allocations: 3.938 kB / 0.5226 GB, free: 0.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.1283, allocations: 123.9 kB / 0.5227 GB, free: 0.8359 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.0009912/0.1293, allocations: 0.7335 MB / 0.5234 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1294, allocations: 106.8 kB / 0.5235 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1294, allocations: 0 / 0.5235 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.1294, allocations: 85.09 kB / 0.5236 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1296, allocations: 8.125 kB / 0.5236 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.13, allocations: 156.1 kB / 0.5238 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.709e-05/0.13, allocations: 55.36 kB / 0.5238 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.648e-06/0.13, allocations: 0 / 0.5238 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.13, allocations: 7.438 kB / 0.5238 GB, free: 15.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.13, allocations: 0 / 0.5238 GB, free: 15.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.1546, allocations: 4.908 MB / 0.5286 GB, free: 10.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.64, allocations: 4.062 kB / 0.5286 GB, free: 10.63 MB / 414.1 MB " [Timeout remaining time 648] (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.848023350001313] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.797000505961478 12.00163385 11.873246449 Calling exit ...