Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 109.8 kB / 19.74 MB, free: 2.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 218.9 kB / 22.92 MB, free: 5.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 230.2 MB / 256.2 MB, free: 8.594 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1901/0.1901, allocations: 46.9 MB / 359.3 MB, free: 4.926 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 79.86 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2438, allocations: 65.99 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01592/0.2598, allocations: 16.08 MB / 0.5741 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009283/0.269, allocations: 5.518 MB / 0.5795 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.2703, allocations: 111.6 kB / 0.5796 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008102/0.2784, allocations: 5.187 MB / 0.5847 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.2834, allocations: 2.661 MB / 0.5873 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.2858, allocations: 1.384 MB / 0.5886 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008923/0.2948, allocations: 8.243 MB / 0.5967 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.2996, allocations: 4.834 MB / 0.6014 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.3028, allocations: 2.793 MB / 0.6041 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/0.3073, allocations: 4.02 MB / 0.608 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009205/0.3082, allocations: 0.6328 MB / 0.6087 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.3109, allocations: 1.822 MB / 0.6104 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002887/0.3138, allocations: 3.444 MB / 0.6138 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.3172, allocations: 3.784 MB / 0.6175 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3286, allocations: 12.19 MB / 0.6294 GB, free: 12.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3286, allocations: 0 / 0.6294 GB, free: 12.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3286, allocations: 0 / 0.6294 GB, free: 12.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001753/0.3288, allocations: 0 / 0.6294 GB, free: 12.17 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01532/0.3441, allocations: 8.381 MB / 0.6376 GB, free: 3.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3441, allocations: 8.031 kB / 0.6376 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001531/0.3457, allocations: 1.152 MB / 0.6387 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05075/0.3964, allocations: 8.41 MB / 0.6469 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.4075, allocations: 5.891 MB / 0.6527 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.4078, allocations: 386 kB / 0.653 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009618/0.4087, allocations: 0.5114 MB / 0.6535 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.4329, allocations: 15.41 MB / 0.6686 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.433, allocations: 71.45 kB / 0.6687 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005679/0.4336, allocations: 239.8 kB / 0.6689 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003625/0.4372, allocations: 2.544 MB / 0.6714 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/0.4604, allocations: 12.88 MB / 0.6839 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2634/0.7238, allocations: 57.01 MB / 0.7396 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.7378, allocations: 6.116 MB / 0.7456 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.7405, allocations: 3.099 MB / 0.7486 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.7512, allocations: 11.39 MB / 0.7597 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.7512, allocations: 58.88 kB / 0.7598 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 4.058e-06/0.7512, allocations: 0 / 0.7598 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=338): time 0.1079/0.8591, allocations: 39.8 MB / 0.7987 GB, free: 77.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.8591, allocations: 239.9 kB / 0.7989 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005303/0.8644, allocations: 5.743 MB / 0.8045 GB, free: 71.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000362/0.8648, allocations: 77.7 kB / 0.8046 GB, free: 71.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.8663, allocations: 4.616 MB / 0.8091 GB, free: 67.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007337/0.8671, allocations: 1.284 MB / 0.8103 GB, free: 66.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/0.8687, allocations: 1.649 MB / 0.8119 GB, free: 64.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.962e-05/0.8687, allocations: 305.1 kB / 0.8122 GB, free: 64.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/0.8725, allocations: 3.779 MB / 0.8159 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/0.8775, allocations: 8.303 MB / 0.824 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/0.8872, allocations: 13.02 MB / 0.8368 GB, free: 34.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/0.8873, allocations: 48 kB / 0.8368 GB, free: 34.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02228/0.9095, allocations: 15.43 MB / 0.8519 GB, free: 19.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.9096, allocations: 74.81 kB / 0.8519 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.591e-05/0.9097, allocations: 156 kB / 0.8521 GB, free: 19.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.9204, allocations: 4.1 MB / 0.8561 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004375/0.9248, allocations: 1.801 MB / 0.8579 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/0.9498, allocations: 20.93 MB / 0.8783 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/0.9552, allocations: 0.4916 MB / 0.8788 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/0.9559, allocations: 471.4 kB / 0.8792 GB, free: 7.176 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (966): * Single equations (assignments): 962 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004277/0.9602, allocations: 3.111 MB / 0.8823 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008762/0.961, allocations: 0.5519 MB / 0.8828 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/0.9809, allocations: 9.56 MB / 0.8921 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/0.9809, allocations: 36 kB / 0.8922 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.9809, allocations: 12 kB / 0.8922 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/0.981, allocations: 19.89 kB / 0.8922 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03573/1.017, allocations: 19.58 MB / 0.9113 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/1.017, allocations: 12.14 kB / 0.9113 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.019, allocations: 499.2 kB / 0.9118 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01174/1.031, allocations: 3.653 MB / 0.9154 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/1.031, allocations: 67.92 kB / 0.9154 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02657/1.057, allocations: 18.44 MB / 0.9334 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.057, allocations: 7.938 kB / 0.9335 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02525/1.083, allocations: 14.2 MB / 0.9473 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.084, allocations: 0.591 MB / 0.9479 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.085, allocations: 60 kB / 0.948 GB, free: 188 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.087, allocations: 239.5 kB / 0.9482 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/1.088, allocations: 222.2 kB / 0.9484 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.088, allocations: 88 kB / 0.9485 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004985/1.093, allocations: 3.643 MB / 0.952 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.093, allocations: 0 / 0.952 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005539/1.098, allocations: 1.68 MB / 0.9537 GB, free: 10.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.w) * 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 (256): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02552/1.124, allocations: 14.94 MB / 0.9683 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.137, allocations: 8.834 MB / 0.9769 GB, free: 2.367 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.137, allocations: 0 / 0.9769 GB, free: 2.367 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004812/1.142, allocations: 3.311 MB / 0.9801 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/1.146, allocations: 0.7719 MB / 0.9809 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2962/1.442, allocations: 78.65 MB / 1.058 GB, free: 214.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003675/1.446, allocations: 4.825 MB / 1.062 GB, free: 209.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004464/1.45, allocations: 2.589 MB / 1.065 GB, free: 207 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002748/1.453, allocations: 3.061 MB / 1.068 GB, free: 203.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.422e-06/1.453, allocations: 0 / 1.068 GB, free: 203.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/1.595, allocations: 126.3 MB / 1.191 GB, free: 78.28 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.1/36.7, allocations: 4.062 kB / 1.191 GB, free: 78.28 MB / 0.6856 GB " [Timeout remaining time 623] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 39.25404477500706]