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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 104 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 192.1 kB / 18.56 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1787/0.1787, allocations: 44.18 MB / 336.6 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 64.44 kB / 408.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1006, allocations: 60.82 MB / 469.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001415/0.102, allocations: 495.7 kB / 469.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1031, allocations: 0.7744 MB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.1031, allocations: 0 / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.1032, allocations: 0 / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.166e-06/0.1032, allocations: 0 / 470.6 MB, free: 13.06 MB / 350.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.001309/0.1045, allocations: 0.5836 MB / 471.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.376e-05/0.1045, allocations: 0 / 471.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.738e-05/0.1046, allocations: 0 / 471.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.298e-05/0.1046, allocations: 4 kB / 471.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.303e-05/0.1046, allocations: 11.92 kB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-06/0.1046, allocations: 0 / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.1051, allocations: 367.3 kB / 471.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-06/0.1052, allocations: 4 kB / 471.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.22e-05/0.1052, allocations: 0 / 471.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.1056, allocations: 335.3 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1056, allocations: 4 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1056, allocations: 0 / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1056, allocations: 7.938 kB / 471.9 MB, free: 11.76 MB / 350.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.0002927/0.1059, allocations: 377.2 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.1059, allocations: 20.02 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.106, allocations: 34.75 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.758e-05/0.106, allocations: 0.9375 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.283e-05/0.1061, allocations: 160.4 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1061, allocations: 384 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.1061, allocations: 8.312 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.61e-05/0.1061, allocations: 26.27 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1062, allocations: 3.938 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.1062, allocations: 0 / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-06/0.1062, allocations: 4 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.1062, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.1063, allocations: 145.7 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.088e-05/0.1063, allocations: 22.61 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.1064, allocations: 8.797 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.1064, allocations: 0 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.1064, allocations: 56.27 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1064, allocations: 4 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.1065, allocations: 71.38 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1066, allocations: 77.11 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.826e-05/0.1066, allocations: 97.86 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.1066, allocations: 25.7 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.1067, allocations: 80.14 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.1067, allocations: 0 / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.1067, allocations: 9.719 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.1068, allocations: 323 kB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-06/0.1068, allocations: 3.938 kB / 473.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-06/0.1068, allocations: 0 / 473.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.1069, allocations: 64.27 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1069, allocations: 3.938 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.484e-05/0.1069, allocations: 59.41 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.107, allocations: 33.69 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.107, allocations: 3.938 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.107, allocations: 4.094 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.107, allocations: 0 / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.107, allocations: 4 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.107, allocations: 4 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.107, allocations: 0 / 473.6 MB, free: 9.77 MB / 350.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 6.229e-05/0.1071, allocations: 135.5 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.1071, allocations: 4 kB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-06/0.1071, allocations: 11.06 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.1071, allocations: 3.938 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1072, allocations: 4 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1072, allocations: 3.984 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.38e-05/0.1072, allocations: 145.6 kB / 473.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1072, allocations: 4 kB / 473.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1072, allocations: 0 / 473.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1073, allocations: 3.984 kB / 473.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1073, allocations: 3.938 kB / 473.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1073, allocations: 0 / 473.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.1073, allocations: 0 / 473.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.989e-05/0.1074, allocations: 94.83 kB / 474 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.1074, allocations: 77.11 kB / 474.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1074, allocations: 3.938 kB / 474.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.1074, allocations: 0 / 474.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.1074, allocations: 7.984 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1074, allocations: 0 / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.1075, allocations: 79.22 kB / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1075, allocations: 0 / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1078, allocations: 80.02 kB / 474.3 MB, free: 9.012 MB / 350.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.0006196/0.1084, allocations: 0.7577 MB / 475 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.835e-05/0.1085, allocations: 55.41 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1085, allocations: 4.062 kB / 475.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.1085, allocations: 59.34 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.1086, allocations: 4 kB / 475.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.1089, allocations: 138.6 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1091, allocations: 0.669 MB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.749e-06/0.1091, allocations: 7.938 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.1091, allocations: 7.438 kB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1091, allocations: 0 / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09588/0.205, allocations: 2.668 MB / 478.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.473/9.678, allocations: 8.578 kB / 478.6 MB, free: 4.574 MB / 350.1 MB (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)