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.001636/0.001636, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001995/0.001995, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.561/1.561, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2316/0.2316, allocations: 46.88 MB / 357.4 MB, free: 10.5 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.002287/0.002287, allocations: 79.86 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1306, allocations: 65.97 MB / 0.5556 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01514/0.1457, allocations: 12.09 MB / 0.5674 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009119/0.1549, allocations: 4.339 MB / 0.5717 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.1566, allocations: 75.75 kB / 0.5717 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005276/0.1618, allocations: 2.776 MB / 0.5745 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.167, allocations: 2.027 MB / 0.5764 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.1689, allocations: 0.9085 MB / 0.5773 GB, free: 132 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008463/0.1774, allocations: 5.665 MB / 0.5829 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/0.1813, allocations: 2.894 MB / 0.5857 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.1844, allocations: 1.717 MB / 0.5874 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.1883, allocations: 2.715 MB / 0.59 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.1895, allocations: 384 kB / 0.5904 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.1925, allocations: 1.447 MB / 0.5918 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2959/0.4884, allocations: 2.242 MB / 0.594 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004161/0.4926, allocations: 2.483 MB / 0.5964 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.5069, allocations: 8.024 MB / 0.6042 GB, free: 9.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5069, allocations: 0.75 kB / 0.6042 GB, free: 9.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5069, allocations: 0 / 0.6042 GB, free: 9.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002994/0.5072, allocations: 0 / 0.6042 GB, free: 9.613 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.02168/0.5289, allocations: 5.806 MB / 0.6099 GB, free: 7.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5289, allocations: 9.844 kB / 0.6099 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002453/0.5314, allocations: 0.8058 MB / 0.6107 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03598/0.5674, allocations: 5.986 MB / 0.6166 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.5792, allocations: 3.869 MB / 0.6203 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.5794, allocations: 245.2 kB / 0.6206 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002173/0.5816, allocations: 332.6 kB / 0.6209 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.6034, allocations: 10.78 MB / 0.6314 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.6035, allocations: 46.58 kB / 0.6315 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/0.604, allocations: 160.8 kB / 0.6316 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/0.6071, allocations: 1.996 MB / 0.6336 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/0.6272, allocations: 9.237 MB / 0.6426 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06168/0.6889, allocations: 40.89 MB / 0.6825 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.7004, allocations: 4.05 MB / 0.6865 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.7037, allocations: 1.747 MB / 0.6882 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/0.7205, allocations: 7.507 MB / 0.6955 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.786e-05/0.7205, allocations: 55.5 kB / 0.6956 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=180): time 4.999e-06/0.7206, allocations: 0 / 0.6956 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=236): time 0.1667/0.8873, allocations: 40.84 MB / 0.7354 GB, free: 6.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.8874, allocations: 201.9 kB / 0.7356 GB, free: 6.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009769/0.8972, allocations: 4.333 MB / 0.7399 GB, free: 2.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007647/0.8979, allocations: 69.44 kB / 0.7399 GB, free: 1.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003957/0.9019, allocations: 3.336 MB / 0.7432 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00196/0.9039, allocations: 0.9167 MB / 0.7441 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004296/0.9082, allocations: 1.29 MB / 0.7453 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9083, allocations: 312.9 kB / 0.7456 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006178/0.9145, allocations: 3.487 MB / 0.749 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009829/0.9243, allocations: 7.105 MB / 0.756 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/0.9402, allocations: 11.38 MB / 0.7671 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/0.9403, allocations: 36 kB / 0.7671 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.04203/0.9824, allocations: 15.68 MB / 0.7824 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.9825, allocations: 56 kB / 0.7825 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/0.9828, allocations: 128 kB / 0.7826 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02294/1.006, allocations: 6.062 MB / 0.7885 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/1.011, allocations: 1.439 MB / 0.7899 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04102/1.052, allocations: 27.14 MB / 0.8165 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006112/1.058, allocations: 406.2 kB / 0.8168 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.06, allocations: 376 kB / 0.8172 GB, free: 15.77 MB / 0.6387 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.006276/1.066, allocations: 2.208 MB / 0.8194 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/1.068, allocations: 417.2 kB / 0.8198 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0301/1.098, allocations: 11.02 MB / 0.8305 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-05/1.098, allocations: 26.42 kB / 0.8305 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-05/1.098, allocations: 16 kB / 0.8306 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-05/1.098, allocations: 11.95 kB / 0.8306 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4001/1.498, allocations: 20.43 MB / 0.8505 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/1.498, allocations: 9.188 kB / 0.8505 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.5, allocations: 391.2 kB / 0.8509 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01789/1.518, allocations: 5.147 MB / 0.8559 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/1.519, allocations: 44.38 kB / 0.856 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/1.542, allocations: 22.25 MB / 0.8777 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.542, allocations: 11.94 kB / 0.8777 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02652/1.569, allocations: 14.28 MB / 0.8917 GB, free: 187.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.571, allocations: 465.8 kB / 0.8921 GB, free: 187 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.572, allocations: 44 kB / 0.8921 GB, free: 187 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.574, allocations: 175.7 kB / 0.8923 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.575, allocations: 160.8 kB / 0.8925 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/1.575, allocations: 70.05 kB / 0.8925 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004181/1.579, allocations: 2.722 MB / 0.8952 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/1.579, allocations: 0 / 0.8952 GB, free: 183.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006912/1.586, allocations: 1.314 MB / 0.8965 GB, free: 182.5 MB / 0.6387 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.02722/1.613, allocations: 14.92 MB / 0.911 GB, free: 167.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.625, allocations: 7.796 MB / 0.9187 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.625, allocations: 0 / 0.9187 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004046/1.629, allocations: 2.959 MB / 0.9215 GB, free: 157 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/1.633, allocations: 0.5381 MB / 0.9221 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1091/1.742, allocations: 66.98 MB / 0.9875 GB, free: 83.74 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003733/1.745, allocations: 3.515 MB / 0.9909 GB, free: 80.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004064/1.749, allocations: 1.962 MB / 0.9928 GB, free: 78.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/1.752, allocations: 2.076 MB / 0.9949 GB, free: 76.17 MB / 0.6387 GB Notification: Performance of SimCode: time 1.333e-06/1.752, allocations: 0 / 0.9949 GB, free: 76.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4167/2.169, allocations: 106 MB / 1.098 GB, free: 221.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.64/26.81, allocations: 9.484 kB / 1.098 GB, free: 221.1 MB / 0.6544 GB " [Timeout remaining time 633] (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: 30.017557095736265] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 26.94430880714208 26.963679563 26.452951348 Calling exit ...