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.009398/0.009398, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001491/0.001492, allocations: 200 kB / 16.68 MB, free: 5.969 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.196/0.196, allocations: 39.96 MB / 309.9 MB, free: 4.016 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.001612/0.001612, allocations: 73.47 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 56.88 MB / 492.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001987/0.1248, allocations: 0.4922 MB / 493.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.1282, allocations: 1.975 MB / 495.1 MB, free: 300 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.1282, allocations: 0 / 495.1 MB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1283, allocations: 4 kB / 495.1 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.1283, allocations: 0 / 495.1 MB, free: 296 kB / 366.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.002477/0.1308, allocations: 0.7085 MB / 495.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.1309, allocations: 3.984 kB / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.1309, allocations: 7.938 kB / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.1309, allocations: 0 / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.1309, allocations: 0 / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.131, allocations: 0 / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1322, allocations: 0.6668 MB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1323, allocations: 0 / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1323, allocations: 0 / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1333, allocations: 0.5653 MB / 497.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1333, allocations: 0 / 497.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1333, allocations: 0 / 497.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1333, allocations: 0 / 497.1 MB, free: 14.33 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.0006418/0.134, allocations: 409.2 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.1341, allocations: 11.89 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1341, allocations: 0.9375 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.1342, allocations: 164.3 kB / 497.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1342, allocations: 4.312 kB / 497.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1342, allocations: 4.375 kB / 497.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.871e-05/0.1343, allocations: 37.98 kB / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1343, allocations: 0 / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1344, allocations: 0 / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1344, allocations: 0 / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.1344, allocations: 8 kB / 497.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.1345, allocations: 141.7 kB / 497.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.1346, allocations: 26.61 kB / 497.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.1346, allocations: 4.859 kB / 497.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.1346, allocations: 0 / 497.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.1347, allocations: 64.19 kB / 497.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1347, allocations: 0 / 497.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001765/0.1349, allocations: 63.41 kB / 498 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1349, allocations: 81.11 kB / 498.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.28e-05/0.135, allocations: 89.86 kB / 498.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.135, allocations: 29.7 kB / 498.2 MB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.135, allocations: 80.14 kB / 498.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.135, allocations: 0 / 498.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1351, allocations: 13.7 kB / 498.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1352, allocations: 322.9 kB / 498.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-06/0.1352, allocations: 0 / 498.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-06/0.1352, allocations: 0 / 498.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/0.1353, allocations: 68.2 kB / 498.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1353, allocations: 0 / 498.7 MB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.046e-05/0.1354, allocations: 63.39 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.1354, allocations: 33.64 kB / 498.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1354, allocations: 3.938 kB / 498.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1354, allocations: 0 / 498.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1354, allocations: 4.094 kB / 498.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1355, allocations: 0 / 498.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1355, allocations: 4 kB / 498.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1355, allocations: 3.938 kB / 498.8 MB, free: 12.36 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 8.636e-05/0.1356, allocations: 139.5 kB / 498.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1356, allocations: 11.92 kB / 498.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.1356, allocations: 3.125 kB / 498.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1356, allocations: 0 / 498.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1356, allocations: 0 / 498.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1357, allocations: 8 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.478e-05/0.1357, allocations: 141.7 kB / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1358, allocations: 0 / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1358, allocations: 4 kB / 499.1 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1358, allocations: 7.922 kB / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1358, allocations: 0 / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1358, allocations: 0 / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1358, allocations: 0 / 499.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1359, allocations: 94.83 kB / 499.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.1359, allocations: 81.09 kB / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.136, allocations: 3.938 kB / 499.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.136, allocations: 0 / 499.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.136, allocations: 7.938 kB / 499.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.136, allocations: 0 / 499.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.405e-05/0.136, allocations: 75.28 kB / 499.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.136, allocations: 0 / 499.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.1365, allocations: 132 kB / 499.5 MB, free: 11.55 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.000768/0.1373, allocations: 257.4 kB / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1374, allocations: 59.41 kB / 499.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1374, allocations: 4 kB / 499.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.1375, allocations: 59.33 kB / 499.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1376, allocations: 4 kB / 499.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.1378, allocations: 88.83 kB / 499.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1381, allocations: 0.673 MB / 0.4889 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.222e-06/0.1381, allocations: 0 / 0.4889 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1381, allocations: 7.438 kB / 0.4889 GB, free: 10.32 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1381, allocations: 3.938 kB / 0.4889 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Templates: time 0.008432/0.1466, allocations: 3.776 MB / 0.4926 GB, free: 6.539 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)