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.001804/0.001804, 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.002342/0.002342, 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.528/1.528, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2443/0.2443, allocations: 46.92 MB / 361.6 MB, free: 4.301 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.002288/0.002288, allocations: 79.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.363, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01482/0.3778, allocations: 12.1 MB / 0.5733 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3889, allocations: 4.365 MB / 0.5776 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.3918, allocations: 91.5 kB / 0.5777 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005925/0.3977, allocations: 2.78 MB / 0.5804 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.4038, allocations: 2.039 MB / 0.5824 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.4059, allocations: 0.9047 MB / 0.5833 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00861/0.4145, allocations: 5.692 MB / 0.5888 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003936/0.4184, allocations: 2.818 MB / 0.5916 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.4215, allocations: 1.74 MB / 0.5933 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00426/0.4258, allocations: 2.718 MB / 0.5959 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009174/0.4267, allocations: 384 kB / 0.5963 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.4294, allocations: 1.443 MB / 0.5977 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.432, allocations: 2.255 MB / 0.5999 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.4355, allocations: 2.486 MB / 0.6023 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.4461, allocations: 8.02 MB / 0.6102 GB, free: 2.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4461, allocations: 3.938 kB / 0.6102 GB, free: 2.262 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4461, allocations: 0 / 0.6102 GB, free: 2.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000231/0.4464, allocations: 0 / 0.6102 GB, free: 2.262 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.01571/0.4621, allocations: 5.735 MB / 0.6158 GB, free: 12.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.4621, allocations: 8.031 kB / 0.6158 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001694/0.4638, allocations: 0.8045 MB / 0.6166 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03469/0.4985, allocations: 5.981 MB / 0.6224 GB, free: 5.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009845/0.5084, allocations: 3.785 MB / 0.6261 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.5086, allocations: 246.3 kB / 0.6263 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.5098, allocations: 339.7 kB / 0.6267 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.5306, allocations: 10.78 MB / 0.6372 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.5308, allocations: 51.56 kB / 0.6372 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/0.5312, allocations: 159.8 kB / 0.6374 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/0.5345, allocations: 1.994 MB / 0.6393 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.5543, allocations: 9.241 MB / 0.6484 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/0.6149, allocations: 40.76 MB / 0.6882 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.6259, allocations: 3.585 MB / 0.6917 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/0.6289, allocations: 1.74 MB / 0.6934 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.6416, allocations: 6.141 MB / 0.6994 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.033e-05/0.6417, allocations: 67.42 kB / 0.6994 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 4.318e-06/0.6417, allocations: 0 / 0.6994 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.4425/1.084, allocations: 40.68 MB / 0.7391 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/1.084, allocations: 209 kB / 0.7393 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005692/1.09, allocations: 4.337 MB / 0.7436 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005821/1.091, allocations: 61.58 kB / 0.7436 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.092, allocations: 3.338 MB / 0.7469 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009858/1.093, allocations: 0.9162 MB / 0.7478 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/1.095, allocations: 1.289 MB / 0.7491 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/1.095, allocations: 304.1 kB / 0.7493 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003878/1.099, allocations: 3.494 MB / 0.7528 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/1.104, allocations: 7.106 MB / 0.7597 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.115, allocations: 11.37 MB / 0.7708 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.115, allocations: 40 kB / 0.7708 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03125/1.147, allocations: 15.68 MB / 0.7861 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-05/1.147, allocations: 66.48 kB / 0.7862 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.236e-05/1.147, allocations: 128 kB / 0.7863 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02013/1.167, allocations: 6.053 MB / 0.7922 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/1.172, allocations: 1.435 MB / 0.7936 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02806/1.2, allocations: 26.94 MB / 0.82 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005403/1.205, allocations: 396.4 kB / 0.8203 GB, free: 80.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008795/1.206, allocations: 372 kB / 0.8207 GB, free: 80.27 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.003217/1.209, allocations: 2.219 MB / 0.8229 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008379/1.21, allocations: 421.1 kB / 0.8233 GB, free: 77.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02421/1.234, allocations: 11.02 MB / 0.834 GB, free: 66.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/1.234, allocations: 28 kB / 0.834 GB, free: 66.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.234, allocations: 8 kB / 0.8341 GB, free: 66.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/1.234, allocations: 19.89 kB / 0.8341 GB, free: 66.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03679/1.271, allocations: 20.4 MB / 0.854 GB, free: 45.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/1.271, allocations: 4.875 kB / 0.854 GB, free: 45.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/1.273, allocations: 393 kB / 0.8544 GB, free: 45.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.018/1.291, allocations: 5.144 MB / 0.8594 GB, free: 40.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004843/1.291, allocations: 43.98 kB / 0.8594 GB, free: 40.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/1.315, allocations: 22.04 MB / 0.881 GB, free: 17.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.315, allocations: 11.88 kB / 0.881 GB, free: 17.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02706/1.342, allocations: 14.29 MB / 0.8949 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.343, allocations: 393 kB / 0.8953 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007417/1.344, allocations: 43.98 kB / 0.8953 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.346, allocations: 183.7 kB / 0.8955 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006112/1.347, allocations: 161.4 kB / 0.8957 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/1.347, allocations: 64 kB / 0.8957 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003351/1.35, allocations: 2.734 MB / 0.8984 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/1.35, allocations: 0 / 0.8984 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005481/1.356, allocations: 1.312 MB / 0.8997 GB, free: 14.64 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.03325/1.389, allocations: 14.92 MB / 0.9142 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.403, allocations: 7.795 MB / 0.9219 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.403, allocations: 0 / 0.9219 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.408, allocations: 2.954 MB / 0.9247 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.412, allocations: 0.5327 MB / 0.9253 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4266/1.838, 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.004344/1.843, allocations: 3.502 MB / 0.9942 GB, free: 234.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006222/1.849, allocations: 1.964 MB / 0.9961 GB, free: 234.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00483/1.854, allocations: 2.071 MB / 0.9981 GB, free: 233.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.014e-06/1.854, allocations: 3.188 kB / 0.9981 GB, free: 233.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/2.028, allocations: 111.7 MB / 1.107 GB, free: 127.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.43/28.46, allocations: 4 kB / 1.107 GB, free: 127.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.551524373237044] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 28.599442061968148 28.61453209 28.165058139 Calling exit ...