Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001208/0.001208, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001281/0.001281, allocations: 215.5 kB / 22.92 MB, free: 5.191 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.285/1.285, allocations: 230.2 MB / 256.2 MB, free: 8.617 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2001/0.2001, allocations: 46.89 MB / 359.3 MB, free: 5.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 79.86 kB / 0.494 GB, free: 9.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2599, allocations: 65.98 MB / 0.5584 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00142/0.2613, allocations: 493.1 kB / 0.5589 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2625, allocations: 0.7744 MB / 0.5596 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.2e-05/0.2625, allocations: 0 / 0.5596 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.2625, allocations: 4 kB / 0.5596 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.2625, allocations: 0 / 0.5596 GB, free: 4 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001534/0.2641, allocations: 0.665 MB / 0.5603 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.717e-05/0.2641, allocations: 12 kB / 0.5603 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.844e-05/0.2641, allocations: 0 / 0.5603 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.2641, allocations: 0 / 0.5603 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.187e-05/0.2641, allocations: 0 / 0.5603 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-06/0.2642, allocations: 0 / 0.5603 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.2648, allocations: 415.2 kB / 0.5607 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-06/0.2648, allocations: 0 / 0.5607 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.2648, allocations: 0 / 0.5607 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.2653, allocations: 353 kB / 0.561 GB, free: 2.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2653, allocations: 4 kB / 0.561 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2653, allocations: 4 kB / 0.561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.2653, allocations: 0 / 0.561 GB, free: 2.566 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.0003613/0.2656, allocations: 388.7 kB / 0.5614 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2657, allocations: 8.031 kB / 0.5614 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.2657, allocations: 34.75 kB / 0.5614 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.69e-05/0.2657, allocations: 0.9375 kB / 0.5614 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2658, allocations: 169.3 kB / 0.5616 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2658, allocations: 4.375 kB / 0.5616 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.2658, allocations: 384 / 0.5616 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.2659, allocations: 30.27 kB / 0.5616 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2659, allocations: 3.938 kB / 0.5616 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.2659, allocations: 7.938 kB / 0.5616 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-06/0.2659, allocations: 0 / 0.5616 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.496e-05/0.2659, allocations: 3.938 kB / 0.5616 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.2661, allocations: 145.7 kB / 0.5618 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.2661, allocations: 22.61 kB / 0.5618 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.2661, allocations: 4.859 kB / 0.5618 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.2661, allocations: 4 kB / 0.5618 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.2662, allocations: 56.33 kB / 0.5619 GB, free: 1.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2662, allocations: 4 kB / 0.5619 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.2663, allocations: 67.27 kB / 0.5619 GB, free: 1.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.2663, allocations: 81.11 kB / 0.562 GB, free: 1.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.2664, allocations: 97.81 kB / 0.5621 GB, free: 1.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2664, allocations: 25.7 kB / 0.5621 GB, free: 1.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.2664, allocations: 84.27 kB / 0.5622 GB, free: 1.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.2664, allocations: 0 / 0.5622 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.2665, allocations: 13.72 kB / 0.5622 GB, free: 1.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.2666, allocations: 310.8 kB / 0.5625 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-06/0.2666, allocations: 0 / 0.5625 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.2666, allocations: 0 / 0.5625 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.2667, allocations: 68.25 kB / 0.5626 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2667, allocations: 0 / 0.5626 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.484e-05/0.2667, allocations: 67.41 kB / 0.5627 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2667, allocations: 29.7 kB / 0.5627 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2668, allocations: 3.938 kB / 0.5627 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.2668, allocations: 0 / 0.5627 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-06/0.2668, allocations: 7.984 kB / 0.5627 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2668, allocations: 4 kB / 0.5627 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.2668, allocations: 0 / 0.5627 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.2668, allocations: 0 / 0.5627 GB, free: 0.5703 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 8.873e-05/0.2669, allocations: 135.5 kB / 0.5628 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-06/0.2669, allocations: 4.031 kB / 0.5628 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.09e-05/0.2669, allocations: 11.06 kB / 0.5628 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2669, allocations: 0 / 0.5628 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2669, allocations: 0 / 0.5628 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2669, allocations: 3.984 kB / 0.5628 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.267, allocations: 149.7 kB / 0.563 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.267, allocations: 3.938 kB / 0.563 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.267, allocations: 3.938 kB / 0.563 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.267, allocations: 0 / 0.563 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.267, allocations: 3.938 kB / 0.563 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.267, allocations: 4 kB / 0.563 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.267, allocations: 0 / 0.563 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.753e-05/0.2671, allocations: 98.77 kB / 0.5631 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.2671, allocations: 77.11 kB / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2672, allocations: 3.938 kB / 0.5632 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.2672, allocations: 4 kB / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-06/0.2672, allocations: 0 / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.2672, allocations: 4.031 kB / 0.5632 GB, free: 15.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.2672, allocations: 75.28 kB / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2672, allocations: 0 / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000301/0.2675, allocations: 87.72 kB / 0.5633 GB, free: 15.81 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.0007061/0.2682, allocations: 0.7588 MB / 0.5641 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.01e-05/0.2683, allocations: 55.41 kB / 0.5641 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2683, allocations: 0 / 0.5641 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.2683, allocations: 55.41 kB / 0.5642 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.2684, allocations: 4 kB / 0.5642 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.2687, allocations: 142.5 kB / 0.5643 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.269, allocations: 0.669 MB / 0.565 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.269, allocations: 8.062 kB / 0.565 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.057e-05/0.269, allocations: 11.44 kB / 0.565 GB, free: 13.99 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.269, allocations: 0 / 0.565 GB, free: 13.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.2926, allocations: 2.794 MB / 0.5677 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.309, allocations: 13.45 kB / 0.5677 GB, free: 11.24 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.763425790995825]