Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01043/0.01043, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001738/0.001738, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3607/0.3607, allocations: 39.94 MB / 309.8 MB, free: 9.445 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 75.89 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 56.87 MB / 492.6 MB, free: 19.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001642/0.3331, allocations: 0.4894 MB / 493.1 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.3359, allocations: 1.98 MB / 495.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.336, allocations: 0 / 495.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.336, allocations: 0 / 495.1 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.336, allocations: 0 / 495.1 MB, free: 18.08 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:11372:5-11441:30:writable] Warning: Pure function 'Modelica.Math.Matrices.Utilities.eigenvaluesHessenberg' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dhseqr'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:611:3-680: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.00277/0.3388, allocations: 0.7153 MB / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.3389, allocations: 3.141 kB / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.339, allocations: 0.8438 kB / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.339, allocations: 1.531 kB / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.339, allocations: 7.922 kB / 495.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.3391, allocations: 1.656 kB / 495.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3408, allocations: 0.6622 MB / 496.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3408, allocations: 1.469 kB / 496.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.3408, allocations: 0 / 496.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.342, allocations: 0.5639 MB / 497.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.342, allocations: 0 / 497.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.399e-06/0.342, allocations: 1.438 kB / 497.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.342, allocations: 3.938 kB / 497.1 MB, free: 17.38 MB / 382.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.0006199/0.3427, allocations: 401.4 kB / 497.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.3427, allocations: 12.45 kB / 497.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.3428, allocations: 2.875 kB / 497.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3429, allocations: 160.9 kB / 497.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3429, allocations: 2.688 kB / 497.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.343, allocations: 4.359 kB / 497.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3431, allocations: 34.05 kB / 497.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3431, allocations: 0 / 497.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3431, allocations: 0 / 497.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3431, allocations: 1.156 kB / 497.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.3432, allocations: 6.016 kB / 497.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.3433, allocations: 148.5 kB / 497.8 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.3434, allocations: 24.44 kB / 497.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.3434, allocations: 10.64 kB / 497.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.3434, allocations: 0 / 497.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.3434, allocations: 62.06 kB / 497.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.3434, allocations: 4 kB / 497.9 MB, free: 16.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002119/0.3437, allocations: 70.67 kB / 498 MB, free: 16.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3437, allocations: 81.94 kB / 498.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.075e-05/0.3438, allocations: 89.86 kB / 498.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3438, allocations: 30.67 kB / 498.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.631e-05/0.3438, allocations: 80.14 kB / 498.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3438, allocations: 1.125 kB / 498.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.3439, allocations: 13.41 kB / 498.3 MB, free: 16.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.344, allocations: 319.6 kB / 498.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.344, allocations: 5.438 kB / 498.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.344, allocations: 0.8906 kB / 498.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.344, allocations: 60.86 kB / 498.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.344, allocations: 0 / 498.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.035e-05/0.3441, allocations: 64.02 kB / 498.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.3441, allocations: 36.67 kB / 498.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3442, allocations: 0 / 498.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3442, allocations: 4.094 kB / 498.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3442, allocations: 1.156 kB / 498.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3442, allocations: 0 / 498.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.3442, allocations: 5.484 kB / 498.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.3442, allocations: 0 / 498.8 MB, free: 15.51 MB / 382.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.278e-05/0.3443, allocations: 139.9 kB / 498.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3443, allocations: 5.25 kB / 498.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.025e-05/0.3443, allocations: 3.125 kB / 498.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3444, allocations: 1.75 kB / 498.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3444, allocations: 4 kB / 498.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3444, allocations: 0 / 498.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.15e-05/0.3444, allocations: 146.3 kB / 499.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3444, allocations: 0.6094 kB / 499.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3444, allocations: 0 / 499.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3445, allocations: 5.531 kB / 499.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3445, allocations: 0.5625 kB / 499.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.3445, allocations: 0 / 499.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3445, allocations: 1.938 kB / 499.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.3446, allocations: 95.72 kB / 499.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.3446, allocations: 77.86 kB / 499.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3446, allocations: 5.797 kB / 499.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.3446, allocations: 1.219 kB / 499.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.3447, allocations: 4.547 kB / 499.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3447, allocations: 1.094 kB / 499.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.363e-05/0.3447, allocations: 75.89 kB / 499.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3447, allocations: 1.156 kB / 499.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006919/0.3454, allocations: 138.9 kB / 499.5 MB, free: 14.84 MB / 382.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.0007213/0.3461, allocations: 272.6 kB / 499.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3462, allocations: 58.02 kB / 499.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3462, allocations: 0 / 499.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.3463, allocations: 57.03 kB / 499.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.3464, allocations: 1.625 kB / 499.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.3467, allocations: 102.7 kB / 499.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3468, allocations: 0.6704 MB / 0.4889 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.794e-06/0.3469, allocations: 1.125 kB / 0.4889 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.3469, allocations: 8.656 kB / 0.4889 GB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3469, allocations: 0 / 0.4889 GB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.008648/0.3555, allocations: 3.767 MB / 0.4926 GB, free: 12.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestVectors.pipe 2>&1)