Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 15.94 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.09011, allocations: 44.5 MB / 309.1 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0006199/0.09079, allocations: 208.7 kB / 309.3 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002327/0.09104, allocations: 59.77 kB / 309.3 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.09107, allocations: 0 / 309.3 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.09111, allocations: 0 / 309.3 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.0912, allocations: 11.98 kB / 309.3 MB, free: 112 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.09136, allocations: 23.91 kB / 309.3 MB, free: 88 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.09142, allocations: 7.984 kB / 309.4 MB, free: 80 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.09148, allocations: 8 kB / 309.4 MB, free: 72 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.09152, allocations: 19.91 kB / 309.4 MB, free: 52 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.0916, allocations: 15.98 kB / 309.4 MB, free: 36 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.09163, allocations: 0 / 309.4 MB, free: 36 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-05/0.09167, allocations: 4 kB / 309.4 MB, free: 32 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.09172, allocations: 7.938 kB / 309.4 MB, free: 24 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.09178, allocations: 29.7 kB / 309.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.09187, allocations: 23.97 kB / 309.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.09188, allocations: 0 / 309.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09191, allocations: 0 / 309.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.09193, allocations: 4 kB / 309.5 MB, free: 15.96 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003529/0.09229, allocations: 323.3 kB / 309.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.09234, allocations: 12.02 kB / 309.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.09238, allocations: 4 kB / 309.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.09251, allocations: 171.2 kB / 310 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.09254, allocations: 0 / 310 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.09257, allocations: 4 kB / 310 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.09274, allocations: 89.03 kB / 310.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.09277, allocations: 4 kB / 310.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.09279, allocations: 0 / 310.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.0928, allocations: 0 / 310.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.09287, allocations: 35.92 kB / 310.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.09308, allocations: 181.5 kB / 310.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.09322, allocations: 98.42 kB / 310.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.09325, allocations: 7.922 kB / 310.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.09329, allocations: 42.62 kB / 310.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.09331, allocations: 0 / 310.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003646/0.09368, allocations: 161.5 kB / 310.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.09377, allocations: 128.5 kB / 310.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.09389, allocations: 113.8 kB / 310.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.09392, allocations: 29.7 kB / 310.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.09398, allocations: 84.64 kB / 310.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.09401, allocations: 11.84 kB / 310.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.09402, allocations: 4 kB / 310.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.09416, allocations: 314.8 kB / 311.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.09422, allocations: 23.98 kB / 311.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.0943, allocations: 55.36 kB / 311.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.09438, allocations: 35.92 kB / 311.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.09439, allocations: 0 / 311.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001819/0.09458, allocations: 105.5 kB / 311.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.09461, allocations: 4 kB / 311.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.09463, allocations: 0 / 311.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.09465, allocations: 4 kB / 311.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.09468, allocations: 3.984 kB / 311.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.0947, allocations: 4 kB / 311.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.09474, allocations: 4.125 kB / 311.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.09476, allocations: 4 kB / 311.5 MB, free: 13.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 9.769e-05/0.09487, allocations: 117.8 kB / 311.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.0949, allocations: 11.94 kB / 311.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.09492, allocations: 3.531 kB / 311.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.09494, allocations: 4 kB / 311.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.09495, allocations: 0 / 311.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.095, allocations: 77.11 kB / 311.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.09503, allocations: 4 kB / 311.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.09507, allocations: 8.234 kB / 311.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.09509, allocations: 8 kB / 311.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003499/0.09545, allocations: 446.6 kB / 312.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003696/0.09583, allocations: 0.5163 MB / 312.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.335e-05/0.09594, allocations: 31.92 kB / 312.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.802e-05/0.09601, allocations: 91.27 kB / 312.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Backend: time 4.11e-07/0.09602, allocations: 0 / 312.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000662/0.0967, allocations: 144.8 kB / 312.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of SimCode: time 0.0004777/0.09719, allocations: 0.5627 MB / 313.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.003307/0.1005, allocations: 0.5856 MB / 314.1 MB, free: 10.96 MB / 266.7 MB