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.002017/0.002017, allocations: 114 kB / 20.44 MB, free: 1.469 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.002155/0.002155, allocations: 214 kB / 23.74 MB, free: 4.695 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.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2415/0.2415, allocations: 46.92 MB / 360.8 MB, free: 4.219 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 79.88 kB / 0.4962 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3533, allocations: 66.08 MB / 0.5607 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001652/0.355, allocations: 497 kB / 0.5612 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3565, allocations: 0.7783 MB / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.3565, allocations: 0 / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.3565, allocations: 0 / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.351e-06/0.3565, allocations: 0 / 0.562 GB, free: 3.074 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.00188/0.3584, allocations: 0.681 MB / 0.5626 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.3584, allocations: 4 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.3585, allocations: 3.984 kB / 0.5626 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.3585, allocations: 0 / 0.5626 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.466e-05/0.3585, allocations: 0 / 0.5626 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-06/0.3585, allocations: 4 kB / 0.5626 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.3593, allocations: 475.2 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.3594, allocations: 3.938 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.3594, allocations: 7.922 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.3599, allocations: 353 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3599, allocations: 0 / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3599, allocations: 0 / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3599, allocations: 0 / 0.5634 GB, free: 1.559 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.0004192/0.3603, allocations: 311.6 kB / 0.5637 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3603, allocations: 16.03 kB / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.3604, allocations: 30.75 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.3604, allocations: 8.859 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.3605, allocations: 107.6 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3605, allocations: 4.375 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3605, allocations: 384 / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3606, allocations: 26.27 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3607, allocations: 3.938 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3607, allocations: 7.938 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3607, allocations: 4 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.3607, allocations: 0 / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.3608, allocations: 116.8 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.3609, allocations: 26.55 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.3609, allocations: 8.859 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.3609, allocations: 0 / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.323e-05/0.361, allocations: 60.33 kB / 0.5641 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.361, allocations: 4 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000184/0.3612, allocations: 63.33 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3612, allocations: 85.05 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.3613, allocations: 97.81 kB / 0.5644 GB, free: 420 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3613, allocations: 25.7 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.3613, allocations: 80.14 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3614, allocations: 3.984 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.3614, allocations: 17.72 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3616, allocations: 315 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.3616, allocations: 0 / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-06/0.3616, allocations: 0 / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.371e-05/0.3616, allocations: 68.25 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3616, allocations: 0 / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.498e-05/0.3617, allocations: 59.41 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.3618, allocations: 29.7 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3618, allocations: 3.938 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3618, allocations: 8.031 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-06/0.3618, allocations: 4 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3618, allocations: 3.984 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.3618, allocations: 0 / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3618, allocations: 3.938 kB / 0.565 GB, free: 15.74 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.464e-05/0.3619, allocations: 136.9 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.3619, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.3619, allocations: 6.938 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.3619, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3619, allocations: 4 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3619, allocations: 0 / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.362, allocations: 124.8 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.362, allocations: 3.938 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.362, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.362, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.3621, allocations: 3.938 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3621, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3621, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.3622, allocations: 98.77 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-06/0.3622, allocations: 3.984 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3622, allocations: 7.938 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.3622, allocations: 0 / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.3622, allocations: 0 / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3622, allocations: 0 / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.159e-05/0.3622, allocations: 75.28 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3622, allocations: 0 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.3626, allocations: 83.73 kB / 0.5655 GB, free: 15.12 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.0008301/0.3634, allocations: 0.7578 MB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3635, allocations: 63.33 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3635, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.3635, allocations: 59.47 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.3637, allocations: 0 / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.364, allocations: 150.5 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3644, allocations: 0.669 MB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.846e-06/0.3644, allocations: 4 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.3644, allocations: 7.438 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3644, allocations: 0 / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.393, allocations: 2.934 MB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 10.89 kB / 0.57 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.28979401406832] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.574699030956253 11.600941213 11.236362313 Calling exit ...