Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002642/0.002646, allocations: 368.6 kB / 15.97 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.902/3.902, allocations: 388.9 MB / 405.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003514/0.003513, allocations: 226.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6376/0.6376, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.00045, allocations: 11.09 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09738, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.000559/0.09798, allocations: 220.4 kB / 0.6803 GB, free: 41.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.1011, allocations: 2.033 MB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.1011, allocations: 0 / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.1012, allocations: 0 / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.1012, allocations: 0 / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.1035, allocations: 0.6353 MB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.144e-05/0.1035, allocations: 4 kB / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.1036, allocations: 0 / 0.6829 GB, free: 38.76 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.1036, allocations: 3.984 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.981e-05/0.1036, allocations: 0 / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-06/0.1036, allocations: 0 / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.106, allocations: 1.342 MB / 0.6842 GB, free: 37.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.106, allocations: 0 / 0.6842 GB, free: 37.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.106, allocations: 33.7 kB / 0.6843 GB, free: 37.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1071, allocations: 1.143 MB / 0.6854 GB, free: 36.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1072, allocations: 0 / 0.6854 GB, free: 36.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1072, allocations: 0 / 0.6854 GB, free: 36.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1072, allocations: 0 / 0.6854 GB, free: 36.23 MB / 346.7 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.0006559/0.1078, allocations: 421 kB / 0.6858 GB, free: 35.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1079, allocations: 8.031 kB / 0.6858 GB, free: 35.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.108, allocations: 0 / 0.6858 GB, free: 35.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.316e-05/0.108, allocations: 167 kB / 0.6859 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1081, allocations: 4 kB / 0.6859 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1081, allocations: 4 kB / 0.686 GB, free: 35.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/0.1082, allocations: 37.64 kB / 0.686 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1082, allocations: 0 / 0.686 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1082, allocations: 4 kB / 0.686 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1082, allocations: 0 / 0.686 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.1082, allocations: 0 / 0.686 GB, free: 35.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.1084, allocations: 145.7 kB / 0.6861 GB, free: 35.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.663e-05/0.1084, allocations: 22.55 kB / 0.6862 GB, free: 35.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.1084, allocations: 4.859 kB / 0.6862 GB, free: 35.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.1085, allocations: 0 / 0.6862 GB, free: 35.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.1085, allocations: 68.23 kB / 0.6862 GB, free: 35.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.1085, allocations: 4.062 kB / 0.6862 GB, free: 35.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002045/0.1087, allocations: 59.36 kB / 0.6863 GB, free: 35.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1088, allocations: 85.23 kB / 0.6864 GB, free: 35.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.376e-05/0.1088, allocations: 89.86 kB / 0.6865 GB, free: 34.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.1088, allocations: 25.7 kB / 0.6865 GB, free: 34.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.669e-05/0.1089, allocations: 80.14 kB / 0.6866 GB, free: 34.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1089, allocations: 288 / 0.6866 GB, free: 34.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1089, allocations: 0 / 0.6866 GB, free: 34.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.109, allocations: 322.8 kB / 0.6869 GB, free: 34.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.109, allocations: 0 / 0.6869 GB, free: 34.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.109, allocations: 4 kB / 0.6869 GB, free: 34.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.109, allocations: 33.7 kB / 0.6869 GB, free: 34.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.109, allocations: 0 / 0.6869 GB, free: 34.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.665e-05/0.1091, allocations: 63.34 kB / 0.687 GB, free: 34.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.1092, allocations: 33.69 kB / 0.687 GB, free: 34.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1092, allocations: 0 / 0.687 GB, free: 34.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1092, allocations: 0 / 0.687 GB, free: 34.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.1092, allocations: 4 kB / 0.687 GB, free: 34.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1092, allocations: 3.953 kB / 0.687 GB, free: 34.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1092, allocations: 3.938 kB / 0.687 GB, free: 34.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1093, allocations: 4.031 kB / 0.687 GB, free: 34.3 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.1093, allocations: 140.3 kB / 0.6871 GB, free: 34.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.1094, allocations: 0 / 0.6871 GB, free: 34.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.978e-06/0.1094, allocations: 3.125 kB / 0.6871 GB, free: 34.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1094, allocations: 0 / 0.6871 GB, free: 34.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1094, allocations: 7.922 kB / 0.6871 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.1094, allocations: 81.06 kB / 0.6872 GB, free: 34.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1094, allocations: 4 kB / 0.6872 GB, free: 34.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.1095, allocations: 0 / 0.6872 GB, free: 34.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.1095, allocations: 4 kB / 0.6872 GB, free: 34.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.436e-05/0.1096, allocations: 194.1 kB / 0.6874 GB, free: 33.82 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001048/0.1097, allocations: 240.4 kB / 0.6876 GB, free: 33.56 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.98e-05/0.1097, allocations: 3.984 kB / 0.6877 GB, free: 33.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.404e-05/0.1098, allocations: 75.28 kB / 0.6877 GB, free: 33.48 MB / 346.7 MB Notification: Performance of Backend: time 5.71e-07/0.1098, allocations: 4.062 kB / 0.6877 GB, free: 33.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.1121, allocations: 443.7 kB / 0.6881 GB, free: 33.05 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002553/0.1124, allocations: 0.5853 MB / 0.6887 GB, free: 32.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01695/0.1294, allocations: 7.593 MB / 0.6961 GB, free: 24.8 MB / 346.7 MB