Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.95 MB / 361.6 MB, free: 3.988 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 75.88 kB / 0.4969 GB, free: 7.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2929, allocations: 66.08 MB / 0.5614 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001896/0.2948, allocations: 0.4955 MB / 0.5619 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2962, allocations: 0.7276 MB / 0.5626 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.2962, allocations: 0 / 0.5626 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.2963, allocations: 0 / 0.5626 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.2963, allocations: 0 / 0.5626 GB, free: 2.859 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0019/0.2982, allocations: 0.6383 MB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.2982, allocations: 4 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.2983, allocations: 0 / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.2983, allocations: 0 / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.476e-05/0.2983, allocations: 3.984 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.642e-06/0.2983, allocations: 0 / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007801/0.2991, allocations: 427.2 kB / 0.5637 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.2991, allocations: 0 / 0.5637 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.2991, allocations: 7.984 kB / 0.5637 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.2996, allocations: 333.1 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2996, allocations: 0 / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2996, allocations: 4 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2996, allocations: 0 / 0.564 GB, free: 1.457 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.0004009/0.3, allocations: 319.5 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3001, allocations: 8.031 kB / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.199e-05/0.3001, allocations: 192 / 0.5643 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.3001, allocations: 34.75 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.3001, allocations: 0.9375 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.3002, allocations: 103.6 kB / 0.5644 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3002, allocations: 384 / 0.5644 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3002, allocations: 12.31 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.3004, allocations: 67.64 kB / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3004, allocations: 0 / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.3004, allocations: 0 / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3004, allocations: 4 kB / 0.5645 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.3005, allocations: 25.7 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.3006, allocations: 112.8 kB / 0.5646 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.3006, allocations: 44.31 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.3007, allocations: 42.48 kB / 0.5647 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.3007, allocations: 4.062 kB / 0.5647 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3007, allocations: 64.2 kB / 0.5648 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3007, allocations: 0 / 0.5648 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002112/0.301, allocations: 114.8 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.301, allocations: 81.11 kB / 0.565 GB, free: 232 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.3011, allocations: 93.81 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.3011, allocations: 29.7 kB / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.3012, allocations: 80.14 kB / 0.5652 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3012, allocations: 0 / 0.5652 GB, free: 8 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3012, allocations: 13.72 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3014, allocations: 314.8 kB / 0.5655 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.3014, allocations: 33.77 kB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.3015, allocations: 25.7 kB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.3015, allocations: 68.25 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3015, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.487e-05/0.3016, allocations: 85.11 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.3016, allocations: 33.64 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3017, allocations: 4 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3017, allocations: 7.922 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3017, allocations: 0 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3017, allocations: 96 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.3017, allocations: 4 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.3017, allocations: 0 / 0.5657 GB, free: 15.36 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.986e-05/0.3018, allocations: 143.5 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.3018, allocations: 3.938 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.3018, allocations: 3 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3018, allocations: 0 / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3018, allocations: 4 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3018, allocations: 0 / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.3019, allocations: 120.8 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3019, allocations: 3.984 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3019, allocations: 4 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3019, allocations: 3.938 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3019, allocations: 4 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3019, allocations: 3.938 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3019, allocations: 0 / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3021, allocations: 120.5 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-06/0.3021, allocations: 0 / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3021, allocations: 3.938 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.3021, allocations: 4 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.3021, allocations: 4 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3021, allocations: 4.031 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.184e-05/0.3021, allocations: 79.22 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3021, allocations: 0 / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.3025, allocations: 87.72 kB / 0.5663 GB, free: 14.69 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.0008726/0.3034, allocations: 0.7726 MB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.3035, allocations: 114.8 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3035, allocations: 0 / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.3036, allocations: 93.09 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3037, allocations: 0 / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.3041, allocations: 172.2 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.3042, allocations: 55.36 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.45e-06/0.3042, allocations: 0 / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.3042, allocations: 7.438 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3042, allocations: 3.938 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.3275, allocations: 2.992 MB / 0.5704 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.99, allocations: 8.047 kB / 0.5704 GB, free: 10.44 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.687170464894734] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.147791340015829 11.163193464 10.860636367 Calling exit ...