Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009042/0.009042, allocations: 100.4 kB / 15.73 MB, free: 6.027 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.001526/0.001527, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.3793/0.3793, allocations: 39.95 MB / 309.9 MB, free: 9.68 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.001738/0.001739, allocations: 71.89 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3733, allocations: 56.87 MB / 492.6 MB, free: 19.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001825/0.3752, allocations: 0.4884 MB / 493.1 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.3775, allocations: 1.603 MB / 494.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.3775, allocations: 1.188 kB / 494.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.3776, allocations: 0 / 494.7 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/0.3776, allocations: 0 / 494.7 MB, free: 18.17 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:165:3-206:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.3786, allocations: 264.8 kB / 495 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.3786, allocations: 5.344 kB / 495 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.3787, allocations: 6.5 kB / 495 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.3787, allocations: 1.25 kB / 495 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.718e-05/0.3787, allocations: 1.406 kB / 495 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.3788, allocations: 0 / 495 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009058/0.3797, allocations: 488.9 kB / 495.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3797, allocations: 0 / 495.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.3797, allocations: 10.05 kB / 495.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.3803, allocations: 303.9 kB / 495.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.3804, allocations: 2.578 kB / 495.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3804, allocations: 0 / 495.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3804, allocations: 3.938 kB / 495.8 MB, free: 17.9 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.0004677/0.3809, allocations: 368.6 kB / 496.2 MB, free: 17.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.3809, allocations: 13.23 kB / 496.2 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.381, allocations: 6.781 kB / 496.2 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3811, allocations: 161.4 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3811, allocations: 1.281 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3812, allocations: 5.469 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.3813, allocations: 39.11 kB / 496.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3813, allocations: 0 / 496.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3813, allocations: 0 / 496.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3813, allocations: 0 / 496.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.874e-05/0.3814, allocations: 1.688 kB / 496.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.3815, allocations: 144.6 kB / 496.5 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.3816, allocations: 25.53 kB / 496.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.3816, allocations: 6.047 kB / 496.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3816, allocations: 1.469 kB / 496.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/0.3817, allocations: 69.67 kB / 496.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3817, allocations: 0 / 496.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001877/0.3819, allocations: 60.7 kB / 496.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.382, allocations: 83.92 kB / 496.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/0.382, allocations: 89.86 kB / 496.8 MB, free: 16.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.382, allocations: 29.83 kB / 496.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.3821, allocations: 80.14 kB / 497 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.3821, allocations: 1.188 kB / 497 MB, free: 16.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.3821, allocations: 15.98 kB / 497 MB, free: 16.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/0.3822, allocations: 313.4 kB / 497.3 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.3822, allocations: 4.609 kB / 497.3 MB, free: 16.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-06/0.3822, allocations: 1.844 kB / 497.3 MB, free: 16.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.3823, allocations: 65.27 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3823, allocations: 0 / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.765e-05/0.3824, allocations: 63.39 kB / 497.4 MB, free: 16.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.3824, allocations: 35.69 kB / 497.4 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3824, allocations: 0 / 497.4 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3824, allocations: 6.266 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3824, allocations: 0 / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3825, allocations: 1.438 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.3825, allocations: 3.656 kB / 497.5 MB, free: 16.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3825, allocations: 1.406 kB / 497.5 MB, free: 16.06 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 7.615e-05/0.3826, allocations: 143 kB / 497.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.3826, allocations: 5.406 kB / 497.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.378e-05/0.3826, allocations: 3.125 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3826, allocations: 5.016 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3826, allocations: 5.375 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3826, allocations: 0 / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.466e-05/0.3827, allocations: 144.5 kB / 497.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3827, allocations: 2.516 kB / 497.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3827, allocations: 0 / 497.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3827, allocations: 7.938 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3827, allocations: 5.25 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3828, allocations: 0 / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3828, allocations: 1.125 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.3829, allocations: 93.55 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.3829, allocations: 81.66 kB / 497.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.3829, allocations: 5.75 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.3829, allocations: 4.781 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.383, allocations: 1.469 kB / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.383, allocations: 0 / 498 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.383, allocations: 76.03 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.383, allocations: 0.9062 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.3834, allocations: 63.08 kB / 498.1 MB, free: 15.39 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.0005152/0.384, allocations: 184.1 kB / 498.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.3841, allocations: 62.69 kB / 498.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3841, allocations: 0 / 498.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.3841, allocations: 56.98 kB / 498.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.3842, allocations: 8.906 kB / 498.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.3844, allocations: 97.55 kB / 498.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3846, allocations: 0.6713 MB / 499.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.434e-06/0.3846, allocations: 0.8906 kB / 499.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.3846, allocations: 8.469 kB / 499.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3846, allocations: 0 / 499.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Templates: time 0.004849/0.3895, allocations: 1.282 MB / 0.4887 GB, free: 14.2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe 2>&1)