Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001325/0.001325, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001546/0.001546, allocations: 221.5 kB / 22.92 MB, free: 5.531 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.303/1.303, allocations: 230.2 MB / 256.2 MB, free: 8.727 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.1988/0.1988, allocations: 46.88 MB / 359.3 MB, free: 4.957 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.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",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.002157/0.002157, allocations: 87.83 kB / 0.494 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2592, allocations: 65.98 MB / 0.5584 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01272/0.2719, allocations: 12.1 MB / 0.5702 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.28, allocations: 4.351 MB / 0.5745 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.2815, allocations: 79.75 kB / 0.5745 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005083/0.2866, allocations: 2.776 MB / 0.5773 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005148/0.2917, allocations: 2.039 MB / 0.5792 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.2936, allocations: 0.9047 MB / 0.5801 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007391/0.301, allocations: 5.677 MB / 0.5857 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.3042, allocations: 2.546 MB / 0.5882 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.3067, allocations: 1.713 MB / 0.5898 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.3102, allocations: 2.718 MB / 0.5925 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008839/0.3111, allocations: 384 kB / 0.5929 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.3135, allocations: 1.443 MB / 0.5943 GB, free: 204 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.3157, allocations: 2.252 MB / 0.5965 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.3179, allocations: 2.486 MB / 0.5989 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007533/0.3254, allocations: 8.024 MB / 0.6067 GB, free: 3.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3254, allocations: 4 kB / 0.6067 GB, free: 3.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3254, allocations: 0 / 0.6067 GB, free: 3.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.955e-05/0.3255, allocations: 0 / 0.6067 GB, free: 3.383 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.0104/0.3359, allocations: 5.802 MB / 0.6124 GB, free: 13.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.336, allocations: 15.97 kB / 0.6124 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.337, allocations: 0.8006 MB / 0.6132 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03622/0.3732, allocations: 5.993 MB / 0.619 GB, free: 6.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008496/0.3817, allocations: 3.861 MB / 0.6228 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3819, allocations: 246.3 kB / 0.623 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007583/0.3827, allocations: 327.8 kB / 0.6234 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.4003, allocations: 10.79 MB / 0.6339 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.4004, allocations: 47.59 kB / 0.6339 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.4008, allocations: 155.9 kB / 0.6341 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00301/0.4038, allocations: 1.998 MB / 0.636 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/0.4202, allocations: 9.237 MB / 0.6451 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04309/0.4633, allocations: 40.89 MB / 0.685 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009925/0.4732, allocations: 4.062 MB / 0.689 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.4755, allocations: 1.736 MB / 0.6907 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009568/0.4851, allocations: 7.499 MB / 0.698 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.4851, allocations: 55.44 kB / 0.698 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 3.346e-06/0.4851, allocations: 4 kB / 0.698 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.3692/0.8543, allocations: 40.85 MB / 0.7379 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.8544, allocations: 208.6 kB / 0.7381 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/0.8586, allocations: 4.334 MB / 0.7424 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003319/0.8589, allocations: 57.61 kB / 0.7424 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.8601, allocations: 3.339 MB / 0.7457 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/0.8607, allocations: 0.9146 MB / 0.7466 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.8621, allocations: 1.293 MB / 0.7478 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.8621, allocations: 301.1 kB / 0.7481 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/0.8656, allocations: 3.494 MB / 0.7515 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/0.8702, allocations: 7.11 MB / 0.7585 GB, free: 143 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008904/0.8791, allocations: 11.37 MB / 0.7696 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.068e-05/0.8792, allocations: 36 kB / 0.7696 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03079/0.9099, allocations: 15.67 MB / 0.7849 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.91, allocations: 64.2 kB / 0.785 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.773e-05/0.9101, allocations: 132 kB / 0.7851 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02068/0.9308, allocations: 6.053 MB / 0.791 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.9349, allocations: 1.431 MB / 0.7924 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/0.9608, allocations: 27.15 MB / 0.8189 GB, free: 79.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/0.9662, allocations: 398.5 kB / 0.8193 GB, free: 79.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005828/0.9668, allocations: 375.8 kB / 0.8197 GB, free: 79.08 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 576 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (741): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002469/0.9693, allocations: 2.212 MB / 0.8218 GB, free: 76.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/0.9699, allocations: 421.1 kB / 0.8222 GB, free: 76.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02498/0.9949, allocations: 11.02 MB / 0.833 GB, free: 65.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/0.9949, allocations: 31.56 kB / 0.833 GB, free: 65.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.9949, allocations: 11.94 kB / 0.833 GB, free: 65.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/0.995, allocations: 19.89 kB / 0.833 GB, free: 65.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03493/1.03, allocations: 20.43 MB / 0.853 GB, free: 44.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.03, allocations: 7.938 kB / 0.853 GB, free: 44.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.032, allocations: 388.2 kB / 0.8534 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01841/1.05, allocations: 5.145 MB / 0.8584 GB, free: 38.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/1.051, allocations: 42.5 kB / 0.8584 GB, free: 38.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/1.073, allocations: 22.24 MB / 0.8802 GB, free: 16.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.073, allocations: 19.88 kB / 0.8802 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02707/1.1, allocations: 14.29 MB / 0.8941 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009217/1.101, allocations: 466.2 kB / 0.8946 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/1.101, allocations: 44 kB / 0.8946 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/1.103, allocations: 179.7 kB / 0.8948 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000563/1.104, allocations: 160.6 kB / 0.8949 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.104, allocations: 67.98 kB / 0.895 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003422/1.108, allocations: 2.722 MB / 0.8977 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 0 / 0.8977 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005236/1.113, allocations: 1.316 MB / 0.899 GB, free: 13.08 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0321/1.145, allocations: 14.92 MB / 0.9135 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.157, allocations: 7.798 MB / 0.9211 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.157, allocations: 0 / 0.9211 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004457/1.161, allocations: 2.947 MB / 0.924 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/1.164, allocations: 0.5236 MB / 0.9245 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3271/1.491, allocations: 67.08 MB / 0.99 GB, free: 236 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/1.494, allocations: 3.511 MB / 0.9935 GB, free: 235.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003364/1.497, allocations: 1.963 MB / 0.9954 GB, free: 235 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/1.499, allocations: 2.071 MB / 0.9974 GB, free: 233.2 MB / 0.6544 GB Notification: Performance of SimCode: time 9.31e-07/1.499, allocations: 0 / 0.9974 GB, free: 233.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.624, allocations: 107.1 MB / 1.102 GB, free: 129.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.33/23.95, allocations: 10.19 kB / 1.102 GB, free: 129.9 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_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_SphericalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.54525590898993]