Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001789/0.001789, allocations: 120 kB / 18.5 MB, free: 4.41 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.002077/0.002077, allocations: 193.9 kB / 21.44 MB, free: 1.473 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.42/1.42, allocations: 225.6 MB / 249.8 MB, free: 3.59 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.2143/0.2143, allocations: 44.92 MB / 349.6 MB, free: 1.68 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.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 64.41 kB / 491.8 MB, free: 30.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 64.26 MB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001693/0.1196, allocations: 0.492 MB / 0.5435 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1211, allocations: 0.7802 MB / 0.5442 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.1211, allocations: 0 / 0.5442 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.054e-05/0.1211, allocations: 0 / 0.5442 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.1212, allocations: 0 / 0.5442 GB, free: 2.809 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1227, allocations: 0.5838 MB / 0.5448 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1228, allocations: 4 kB / 0.5448 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.1228, allocations: 7.969 kB / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.1228, allocations: 0 / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.552e-05/0.1229, allocations: 0 / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-06/0.1229, allocations: 7.938 kB / 0.5448 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.1235, allocations: 395.2 kB / 0.5452 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-06/0.1235, allocations: 0 / 0.5452 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.1235, allocations: 7.938 kB / 0.5452 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.124, allocations: 343.4 kB / 0.5455 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.124, allocations: 0 / 0.5455 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.124, allocations: 0 / 0.5455 GB, free: 1.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.124, allocations: 0 / 0.5455 GB, free: 1.473 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.0003971/0.1244, allocations: 392.7 kB / 0.5459 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1244, allocations: 8.031 kB / 0.5459 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.1245, allocations: 30.75 kB / 0.5459 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.1245, allocations: 4.938 kB / 0.5459 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1246, allocations: 160.4 kB / 0.5461 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1246, allocations: 4.375 kB / 0.5461 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1246, allocations: 384 / 0.5461 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.522e-05/0.1247, allocations: 34.2 kB / 0.5461 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1247, allocations: 3.938 kB / 0.5461 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1247, allocations: 0 / 0.5461 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1247, allocations: 3.984 kB / 0.5461 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.616e-05/0.1247, allocations: 0 / 0.5461 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.1249, allocations: 145.7 kB / 0.5463 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.1249, allocations: 26.56 kB / 0.5463 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.125, allocations: 8.797 kB / 0.5463 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.125, allocations: 0 / 0.5463 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.125, allocations: 60.36 kB / 0.5464 GB, free: 432 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.125, allocations: 0 / 0.5464 GB, free: 432 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.1252, allocations: 67.33 kB / 0.5464 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.1252, allocations: 81.11 kB / 0.5465 GB, free: 252 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.1253, allocations: 93.98 kB / 0.5466 GB, free: 148 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1253, allocations: 25.7 kB / 0.5466 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.1253, allocations: 80.14 kB / 0.5467 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.1253, allocations: 0 / 0.5467 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.1254, allocations: 13.72 kB / 0.5467 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1255, allocations: 314.8 kB / 0.547 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.1255, allocations: 0 / 0.547 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.1255, allocations: 3.938 kB / 0.547 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.1256, allocations: 72.27 kB / 0.5471 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1256, allocations: 0 / 0.5471 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.251e-05/0.1257, allocations: 63.39 kB / 0.5472 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.1257, allocations: 29.7 kB / 0.5472 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1257, allocations: 3.938 kB / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1257, allocations: 4 kB / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1257, allocations: 0 / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1257, allocations: 0 / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.1257, allocations: 0 / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1258, allocations: 7.938 kB / 0.5472 GB, free: 15.48 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.411e-05/0.1258, allocations: 139.6 kB / 0.5473 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1259, allocations: 11.89 kB / 0.5473 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.1259, allocations: 11.05 kB / 0.5473 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1259, allocations: 0 / 0.5473 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1259, allocations: 0 / 0.5473 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1259, allocations: 0 / 0.5473 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.126, allocations: 149.7 kB / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.126, allocations: 0 / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.126, allocations: 0 / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.126, allocations: 4 kB / 0.5475 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.126, allocations: 3.938 kB / 0.5475 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.126, allocations: 0 / 0.5475 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.126, allocations: 7.984 kB / 0.5475 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.1261, allocations: 82.84 kB / 0.5476 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1261, allocations: 77.11 kB / 0.5477 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1262, allocations: 11.92 kB / 0.5477 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.1262, allocations: 4.031 kB / 0.5477 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.1262, allocations: 0 / 0.5477 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1262, allocations: 0 / 0.5477 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.1262, allocations: 75.28 kB / 0.5477 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1262, allocations: 3.938 kB / 0.5478 GB, free: 14.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.1265, allocations: 83.73 kB / 0.5478 GB, free: 14.72 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.0007765/0.1273, allocations: 0.7509 MB / 0.5486 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.1274, allocations: 63.41 kB / 0.5486 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1274, allocations: 0 / 0.5486 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.1274, allocations: 55.34 kB / 0.5487 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.1276, allocations: 7.938 kB / 0.5487 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.1279, allocations: 134.5 kB / 0.5488 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1282, allocations: 0.6807 MB / 0.5495 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.511e-06/0.1282, allocations: 0 / 0.5495 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.1282, allocations: 7.438 kB / 0.5495 GB, free: 12.9 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1282, allocations: 0 / 0.5495 GB, free: 12.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.1516, allocations: 2.705 MB / 0.5521 GB, free: 10.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.142, allocations: 14.75 kB / 0.5521 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.913626997265965] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.212645532097667 8.238006178 8.109392332 Calling exit ...