Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.02274/0.02274, allocations: 175 kB / 15.12 MB, free: 5.938 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 2.3/2.3, allocations: 194.5 MB / 210.3 MB, free: 8.594 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002111/0.00211, allocations: 108.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2528/0.2528, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 11.03 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 54.87 MB / 461.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5062/0.6154, allocations: 95.75 MB / 0.5438 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.6158, allocations: 78.41 kB / 0.5439 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4432/1.059, allocations: 115.5 MB / 0.6567 GB, free: 2.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.005e-06/1.059, allocations: 4 kB / 0.6567 GB, free: 2.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003772/1.059, allocations: 128 kB / 0.6569 GB, free: 2.117 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02943/1.089, allocations: 6.494 MB / 0.6632 GB, free: 11.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.089, allocations: 8.031 kB / 0.6632 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005808/1.095, allocations: 1.199 MB / 0.6644 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02083/1.116, allocations: 2.741 MB / 0.6671 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/1.13, allocations: 3.658 MB / 0.6706 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008047/1.13, allocations: 0.4976 MB / 0.6711 GB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/1.135, allocations: 0.6793 MB / 0.6718 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07779/1.212, allocations: 19.59 MB / 0.6909 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007704/1.213, allocations: 79.3 kB / 0.691 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003814/1.217, allocations: 319.8 kB / 0.6913 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00503/1.222, allocations: 1.804 MB / 0.693 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06954/1.292, allocations: 17.43 MB / 0.7101 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4837/1.776, allocations: 70.92 MB / 0.7793 GB, free: 59.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04071/1.816, allocations: 8.616 MB / 0.7877 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03556/1.852, allocations: 14.88 MB / 0.8023 GB, free: 55.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/1.852, allocations: 75.28 kB / 0.8023 GB, free: 55.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 7.204e-06/1.852, allocations: 0.9375 kB / 0.8023 GB, free: 55.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=502): time 0.6347/2.487, allocations: 94.56 MB / 0.8947 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/2.487, allocations: 176 kB / 0.8949 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01826/2.505, allocations: 4.24 MB / 0.899 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001985/2.507, allocations: 101.7 kB / 0.8991 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007054/2.514, allocations: 4.139 MB / 0.9031 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005148/2.52, allocations: 1.805 MB / 0.9049 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002955/2.523, allocations: 191.8 kB / 0.9051 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001468/2.524, allocations: 0.6988 MB / 0.9058 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3867/2.911, allocations: 5.441 MB / 0.9111 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01977/2.931, allocations: 9.866 MB / 0.9207 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/2.951, allocations: 7.274 MB / 0.9278 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002566/2.951, allocations: 46.19 kB / 0.9279 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.05506/3.006, allocations: 17.98 MB / 0.9454 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/3.006, allocations: 69.41 kB / 0.9455 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002549/3.006, allocations: 151.9 kB / 0.9456 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/3.021, allocations: 3.127 MB / 0.9487 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01689/3.038, allocations: 2.236 MB / 0.9509 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03951/3.077, allocations: 24.8 MB / 0.9751 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/3.09, allocations: 0.5721 MB / 0.9756 GB, free: 91.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002783/3.093, allocations: 0.5179 MB / 0.9762 GB, free: 91.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1126): * Single equations (assignments): 1113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01109/3.104, allocations: 3.084 MB / 0.9792 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001908/3.106, allocations: 0.5042 MB / 0.9797 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04416/3.15, allocations: 13.13 MB / 0.9925 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/3.15, allocations: 50.06 kB / 0.9925 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-05/3.15, allocations: 12.62 kB / 0.9925 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001953/3.151, allocations: 21 kB / 0.9926 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07914/3.23, allocations: 25.39 MB / 1.017 GB, free: 70.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-05/3.23, allocations: 4 kB / 1.017 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009696/3.24, allocations: 0.8802 MB / 1.018 GB, free: 69.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01676/3.256, allocations: 3.331 MB / 1.021 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001498/3.258, allocations: 103 kB / 1.022 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03267/3.291, allocations: 21.66 MB / 1.043 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/3.291, allocations: 15.22 kB / 1.043 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05458/3.345, allocations: 20.84 MB / 1.063 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006241/3.352, allocations: 1.551 MB / 1.065 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/3.354, allocations: 90.95 kB / 1.065 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008015/3.362, allocations: 375.4 kB / 1.065 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002211/3.365, allocations: 320.5 kB / 1.065 GB, free: 26.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008433/3.366, allocations: 130.4 kB / 1.065 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007696/3.373, allocations: 2.939 MB / 1.068 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.42e-07/3.373, allocations: 0 / 1.068 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01276/3.386, allocations: 1.939 MB / 1.07 GB, free: 21.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 401 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.4396/3.826, allocations: 22.97 MB / 1.093 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04192/3.868, allocations: 14.35 MB / 1.107 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/3.868, allocations: 0 / 1.107 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02338/3.891, allocations: 7.881 MB / 1.114 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00719/3.898, allocations: 0.5204 MB / 1.115 GB, free: 97.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/4.01, allocations: 140.9 MB / 1.252 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/4.023, allocations: 4.946 MB / 1.257 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01496/4.038, allocations: 3.043 MB / 1.26 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009749/4.048, allocations: 3.103 MB / 1.263 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/4.048, allocations: 3.844 kB / 1.263 GB, free: 16.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7228/4.771, allocations: 144.1 MB / 1.404 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/4.771, allocations: 212.2 kB / 1.404 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/13.7, allocations: 4 kB / 1.404 GB, free: 119.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat