Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 118.1 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 193.2 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.91 MB / 349.6 MB, free: 1.723 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 66.92 kB / 491.8 MB, free: 30.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 64.25 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001548/0.1139, allocations: 0.4893 MB / 0.5435 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1161, allocations: 1.575 MB / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.1161, allocations: 0 / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1161, allocations: 0 / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.1161, allocations: 0 / 0.545 GB, free: 2.043 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.117, allocations: 271.2 kB / 0.5453 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.117, allocations: 0 / 0.5453 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1171, allocations: 0 / 0.5453 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.1171, allocations: 4 kB / 0.5453 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.1171, allocations: 7.969 kB / 0.5453 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.1171, allocations: 3.938 kB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.1178, allocations: 0.5302 MB / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.1178, allocations: 0 / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.1179, allocations: 0 / 0.5458 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.1183, allocations: 315.4 kB / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1183, allocations: 0 / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1183, allocations: 0 / 0.5461 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1183, allocations: 0 / 0.5461 GB, free: 0.9219 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.0003921/0.1187, allocations: 372.8 kB / 0.5464 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1187, allocations: 12.03 kB / 0.5465 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.1187, allocations: 34.75 kB / 0.5465 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1188, allocations: 0.9375 kB / 0.5465 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1189, allocations: 168.4 kB / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.1189, allocations: 384 / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.1189, allocations: 384 / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.119, allocations: 33.83 kB / 0.5467 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.119, allocations: 0 / 0.5467 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.119, allocations: 3.938 kB / 0.5467 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.119, allocations: 3.984 kB / 0.5467 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.119, allocations: 7.938 kB / 0.5467 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1192, allocations: 149.7 kB / 0.5468 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.1192, allocations: 18.58 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.1193, allocations: 4.859 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-06/0.1193, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.1193, allocations: 64.27 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 3.907e-06/0.1193, allocations: 4 kB / 0.5469 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.1195, allocations: 67.33 kB / 0.547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1195, allocations: 77.11 kB / 0.5471 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.1196, allocations: 93.86 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1196, allocations: 25.7 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.1196, allocations: 80.14 kB / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1197, allocations: 0 / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.1197, allocations: 13.72 kB / 0.5473 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1198, allocations: 315 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.1198, allocations: 0 / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.1198, allocations: 4 kB / 0.5476 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.1199, allocations: 64.25 kB / 0.5476 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1199, allocations: 0 / 0.5476 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.166e-05/0.12, allocations: 63.34 kB / 0.5477 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.12, allocations: 41.58 kB / 0.5477 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.12, allocations: 0 / 0.5477 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.12, allocations: 96 / 0.5477 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.12, allocations: 7.984 kB / 0.5477 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.12, allocations: 0 / 0.5477 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.12, allocations: 4 kB / 0.5478 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1201, allocations: 0 / 0.5478 GB, free: 14.94 MB / 414.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.437e-05/0.1201, allocations: 135.5 kB / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1202, allocations: 7.891 kB / 0.5479 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.023e-05/0.1202, allocations: 3.125 kB / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1202, allocations: 0 / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1202, allocations: 0 / 0.5479 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1202, allocations: 8 kB / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1203, allocations: 149.7 kB / 0.548 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1203, allocations: 0 / 0.548 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1203, allocations: 0 / 0.548 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1203, allocations: 3.938 kB / 0.548 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1203, allocations: 4 kB / 0.548 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1203, allocations: 0 / 0.548 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1203, allocations: 0 / 0.548 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1204, allocations: 102.7 kB / 0.5481 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1205, allocations: 88.98 kB / 0.5482 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1205, allocations: 0 / 0.5482 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.1205, allocations: 0 / 0.5482 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.1205, allocations: 0 / 0.5482 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1205, allocations: 0 / 0.5482 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.1205, allocations: 79.28 kB / 0.5483 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1205, allocations: 0 / 0.5483 GB, free: 14.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1208, allocations: 59.8 kB / 0.5484 GB, free: 14.2 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.0007138/0.1215, allocations: 0.7193 MB / 0.5491 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.1216, allocations: 63.33 kB / 0.5491 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1216, allocations: 0 / 0.5491 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1217, allocations: 59.41 kB / 0.5492 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1218, allocations: 4 kB / 0.5492 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.1221, allocations: 130.6 kB / 0.5493 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1224, allocations: 0.6727 MB / 0.55 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.129e-06/0.1224, allocations: 0 / 0.55 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.1224, allocations: 7.438 kB / 0.55 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1224, allocations: 0 / 0.55 GB, free: 12.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1468, allocations: 2.12 MB / 0.552 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/7.911, allocations: 5.344 kB / 0.5521 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.847702864091843] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 7.977478236891329 7.990963434 7.869887943 Calling exit ...