Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 120.4 kB / 17.09 MB, free: 5.992 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.002517/0.002517, allocations: 193.2 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.793/3.793, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4982/0.4982, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 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: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 73.41 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2893, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00385/0.2932, allocations: 0.49 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.2978, allocations: 1.553 MB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.2979, allocations: 0 / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.298, allocations: 0 / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.43e-05/0.2981, allocations: 0 / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3001, allocations: 223.4 kB / 0.4907 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.3002, allocations: 4 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/0.3003, allocations: 4 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.3003, allocations: 11.98 kB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.3004, allocations: 0 / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.3004, allocations: 0 / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.3023, allocations: 0.6908 MB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3024, allocations: 4 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.3024, allocations: 7.984 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.304, allocations: 0.6395 MB / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3041, allocations: 0 / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.3041, allocations: 0 / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3041, allocations: 0 / 0.4921 GB, free: 8.164 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.00108/0.3052, allocations: 380.7 kB / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.28e-05/0.3053, allocations: 11.89 kB / 0.4924 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.3054, allocations: 0.9375 kB / 0.4924 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.3055, allocations: 160.4 kB / 0.4926 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.3056, allocations: 384 / 0.4926 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3056, allocations: 4.375 kB / 0.4926 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3058, allocations: 33.95 kB / 0.4926 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3058, allocations: 7.922 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3058, allocations: 0 / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3059, allocations: 4 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.3059, allocations: 7.984 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.3062, allocations: 149.6 kB / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.3063, allocations: 18.61 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.3063, allocations: 4.859 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3064, allocations: 0 / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.571e-05/0.3065, allocations: 64.14 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/0.3065, allocations: 4 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003306/0.3068, allocations: 67.45 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.307, allocations: 77.11 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.307, allocations: 93.86 kB / 0.4931 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.3071, allocations: 25.7 kB / 0.4931 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.3071, allocations: 80.14 kB / 0.4932 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.3072, allocations: 3.938 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.3073, allocations: 9.719 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3075, allocations: 330.9 kB / 0.4935 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.3075, allocations: 4 kB / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.3075, allocations: 0 / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.3076, allocations: 64.2 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3076, allocations: 0 / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001485/0.3078, allocations: 59.41 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.3079, allocations: 37.62 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3079, allocations: 0 / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3079, allocations: 4.094 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.3079, allocations: 0 / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.308, allocations: 3.984 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.308, allocations: 4 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.308, allocations: 0 / 0.4937 GB, free: 6.215 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 0.0001735/0.3082, allocations: 139.5 kB / 0.4938 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.3083, allocations: 7.938 kB / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.3083, allocations: 3.125 kB / 0.4938 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3083, allocations: 0 / 0.4938 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3083, allocations: 7.984 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3084, allocations: 0 / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3085, allocations: 141.7 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3085, allocations: 7.938 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.3086, allocations: 0 / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.3086, allocations: 3.938 kB / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3086, allocations: 0 / 0.494 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3086, allocations: 4 kB / 0.494 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3086, allocations: 3.938 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3088, allocations: 94.83 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.3089, allocations: 77.11 kB / 0.4942 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3089, allocations: 3.938 kB / 0.4942 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.309, allocations: 7.984 kB / 0.4942 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.309, allocations: 0 / 0.4942 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.309, allocations: 0 / 0.4942 GB, free: 5.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.624e-05/0.3091, allocations: 75.28 kB / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3091, allocations: 0 / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001119/0.3102, allocations: 124 kB / 0.4944 GB, free: 5.414 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.001734/0.312, allocations: 177.7 kB / 0.4945 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3122, allocations: 67.41 kB / 0.4946 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3122, allocations: 0 / 0.4946 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.3123, allocations: 55.41 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3125, allocations: 3.984 kB / 0.4947 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.3128, allocations: 110.6 kB / 0.4948 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3133, allocations: 0.669 MB / 0.4954 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.3133, allocations: 7.438 kB / 0.4954 GB, free: 4.242 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3133, allocations: 0 / 0.4954 GB, free: 4.242 MB / 382.1 MB Notification: Performance of Templates: time 0.01032/0.3236, allocations: 2.715 MB / 0.4981 GB, free: 1.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)