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.001258/0.001258, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001396/0.001396, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.436/1.436, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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.2291/0.2291, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.002931/0.002931, allocations: 83.86 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3396, allocations: 66.08 MB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01461/0.3542, allocations: 12.11 MB / 0.5733 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3642, allocations: 4.361 MB / 0.5776 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.3668, allocations: 87.56 kB / 0.5777 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006205/0.373, allocations: 2.788 MB / 0.5804 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006763/0.3797, allocations: 2.031 MB / 0.5824 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.3821, allocations: 0.9085 MB / 0.5833 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008691/0.3908, allocations: 5.689 MB / 0.5888 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.3948, allocations: 2.822 MB / 0.5916 GB, free: 5.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.398, allocations: 1.74 MB / 0.5933 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.4022, allocations: 2.722 MB / 0.5959 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.4032, allocations: 384 kB / 0.5963 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.4061, allocations: 1.443 MB / 0.5977 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.4089, allocations: 2.252 MB / 0.5999 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003854/0.4127, allocations: 2.486 MB / 0.6023 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.424, allocations: 8.028 MB / 0.6102 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.424, allocations: 0 / 0.6102 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.424, allocations: 0 / 0.6102 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.4243, allocations: 0 / 0.6102 GB, free: 2.293 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.01431/0.4386, allocations: 5.734 MB / 0.6158 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4387, allocations: 8.031 kB / 0.6158 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001757/0.4404, allocations: 0.7968 MB / 0.6165 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03417/0.4746, allocations: 5.993 MB / 0.6224 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009416/0.484, allocations: 3.778 MB / 0.6261 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.4843, allocations: 243.3 kB / 0.6263 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.4857, allocations: 331.8 kB / 0.6266 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.5085, allocations: 10.79 MB / 0.6372 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/0.5086, allocations: 51.58 kB / 0.6372 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.5091, allocations: 159.8 kB / 0.6374 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/0.5125, allocations: 1.998 MB / 0.6393 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.5328, allocations: 9.237 MB / 0.6483 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05691/0.5898, allocations: 40.76 MB / 0.6882 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6001, allocations: 3.592 MB / 0.6917 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.6029, allocations: 1.728 MB / 0.6933 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.6146, allocations: 6.153 MB / 0.6994 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.6147, allocations: 55.5 kB / 0.6994 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 4.077e-06/0.6147, allocations: 4 kB / 0.6994 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.4614/1.076, allocations: 40.69 MB / 0.7392 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/1.076, allocations: 210.7 kB / 0.7394 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00564/1.082, allocations: 4.329 MB / 0.7436 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005771/1.082, allocations: 65.47 kB / 0.7436 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.084, allocations: 3.336 MB / 0.7469 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.085, allocations: 0.9194 MB / 0.7478 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/1.087, allocations: 1.29 MB / 0.7491 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.589e-05/1.087, allocations: 309.1 kB / 0.7494 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/1.091, allocations: 3.49 MB / 0.7528 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005428/1.096, allocations: 7.11 MB / 0.7597 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.107, allocations: 11.36 MB / 0.7708 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.107, allocations: 36 kB / 0.7708 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03261/1.139, allocations: 15.68 MB / 0.7861 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/1.139, allocations: 68.88 kB / 0.7862 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/1.14, allocations: 128 kB / 0.7863 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02022/1.16, allocations: 6.061 MB / 0.7923 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/1.164, allocations: 1.435 MB / 0.7937 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02856/1.193, allocations: 26.93 MB / 0.82 GB, free: 81.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005322/1.198, allocations: 401.7 kB / 0.8203 GB, free: 80.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009667/1.199, allocations: 376 kB / 0.8207 GB, free: 80.32 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.0034/1.203, allocations: 2.218 MB / 0.8229 GB, free: 78.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009111/1.204, allocations: 417.2 kB / 0.8233 GB, free: 77.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02478/1.228, allocations: 11.02 MB / 0.834 GB, free: 66.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/1.228, allocations: 24 kB / 0.834 GB, free: 66.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/1.228, allocations: 12 kB / 0.834 GB, free: 66.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.063e-05/1.228, allocations: 7.969 kB / 0.8341 GB, free: 66.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03743/1.266, allocations: 20.42 MB / 0.854 GB, free: 45.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/1.266, allocations: 11.94 kB / 0.854 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/1.268, allocations: 387.4 kB / 0.8544 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01757/1.285, allocations: 5.145 MB / 0.8594 GB, free: 40.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005403/1.286, allocations: 44 kB / 0.8594 GB, free: 40.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/1.309, allocations: 22.03 MB / 0.881 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.309, allocations: 15.94 kB / 0.881 GB, free: 17.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02643/1.336, allocations: 14.28 MB / 0.8949 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.337, allocations: 389 kB / 0.8953 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007276/1.338, allocations: 47.36 kB / 0.8953 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.34, allocations: 179.7 kB / 0.8955 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/1.34, allocations: 164.9 kB / 0.8957 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.341, allocations: 64 kB / 0.8957 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003215/1.344, allocations: 2.734 MB / 0.8984 GB, free: 4 kB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.344, allocations: 0 / 0.8984 GB, free: 4 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005739/1.349, allocations: 1.305 MB / 0.8997 GB, free: 14.7 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.0347/1.384, allocations: 14.92 MB / 0.9142 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.398, allocations: 7.799 MB / 0.9219 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.398, allocations: 0 / 0.9219 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005127/1.403, allocations: 2.951 MB / 0.9247 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.407, allocations: 0.5379 MB / 0.9253 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4249/1.832, allocations: 67.07 MB / 0.9908 GB, free: 235 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.835, allocations: 3.509 MB / 0.9942 GB, free: 234.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003813/1.839, allocations: 1.963 MB / 0.9961 GB, free: 234.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/1.841, allocations: 2.07 MB / 0.9981 GB, free: 233.7 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/1.841, allocations: 0 / 0.9981 GB, free: 233.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/1.991, allocations: 111.7 MB / 1.107 GB, free: 128.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.9/28.89, allocations: 8.047 kB / 1.107 GB, free: 128.1 MB / 0.6544 GB " [Timeout remaining time 631] (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: 31.91870878683403] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 29.033362595830113 29.050960387 28.622797359 Calling exit ...