Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001344/0.001344, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001522/0.001522, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2628/0.2628, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.UniversalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",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.002372/0.002372, allocations: 79.86 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3805, allocations: 66.1 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01853/0.399, allocations: 15.08 MB / 0.5762 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.4131, allocations: 4.877 MB / 0.581 GB, free: 268 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003694/0.4168, allocations: 107.5 kB / 0.5811 GB, free: 160 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007135/0.4239, allocations: 3.216 MB / 0.5842 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.4315, allocations: 2.607 MB / 0.5868 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4341, allocations: 0.9827 MB / 0.5877 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.4455, allocations: 7.056 MB / 0.5946 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005717/0.4513, allocations: 3.598 MB / 0.5981 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.4559, allocations: 2.254 MB / 0.6003 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006384/0.4623, allocations: 3.532 MB / 0.6038 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.4641, allocations: 484 kB / 0.6043 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.4681, allocations: 1.537 MB / 0.6058 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004236/0.4723, allocations: 2.941 MB / 0.6086 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006693/0.479, allocations: 3.285 MB / 0.6118 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.496, allocations: 10.56 MB / 0.6222 GB, free: 5.914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.496, allocations: 0 / 0.6222 GB, free: 5.914 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.496, allocations: 0 / 0.6222 GB, free: 5.914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003783/0.4964, allocations: 0 / 0.6222 GB, free: 5.914 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01981/0.5162, allocations: 7.575 MB / 0.6295 GB, free: 14.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5163, allocations: 8.031 kB / 0.6296 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002593/0.5188, allocations: 1.144 MB / 0.6307 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03945/0.5583, allocations: 7.501 MB / 0.638 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.5694, allocations: 4.63 MB / 0.6425 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.5698, allocations: 325.2 kB / 0.6428 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.5717, allocations: 427.7 kB / 0.6432 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/0.6036, allocations: 15.63 MB / 0.6585 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/0.6038, allocations: 67.5 kB / 0.6586 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.605, allocations: 203.8 kB / 0.6588 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005285/0.6103, allocations: 3.219 MB / 0.6619 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.638, allocations: 13.94 MB / 0.6755 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07844/0.7164, allocations: 56.99 MB / 0.7312 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3042/1.021, allocations: 5.296 MB / 0.7364 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/1.026, allocations: 3.283 MB / 0.7396 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/1.044, allocations: 12.44 MB / 0.7517 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/1.044, allocations: 63.12 kB / 0.7518 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 5.53e-06/1.044, allocations: 0 / 0.7518 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.1254/1.17, allocations: 41.92 MB / 0.7927 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/1.17, allocations: 210 kB / 0.7929 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/1.176, allocations: 5.487 MB / 0.7983 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007897/1.177, allocations: 73.7 kB / 0.7983 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002064/1.179, allocations: 4.583 MB / 0.8028 GB, free: 99.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.181, allocations: 1.316 MB / 0.8041 GB, free: 98.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/1.183, allocations: 1.789 MB / 0.8058 GB, free: 96.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/1.183, allocations: 309.1 kB / 0.8061 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/1.188, allocations: 4.644 MB / 0.8107 GB, free: 91.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/1.196, allocations: 9.61 MB / 0.8201 GB, free: 79.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/1.211, allocations: 15.3 MB / 0.835 GB, free: 61.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/1.211, allocations: 48 kB / 0.835 GB, free: 61.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.03955/1.25, allocations: 19.01 MB / 0.8536 GB, free: 42.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.01e-05/1.25, allocations: 80.97 kB / 0.8537 GB, free: 42.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/1.251, allocations: 172 kB / 0.8538 GB, free: 42.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01952/1.27, allocations: 5.769 MB / 0.8595 GB, free: 36.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00687/1.277, allocations: 2.07 MB / 0.8615 GB, free: 34.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02717/1.304, allocations: 25.46 MB / 0.8864 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006836/1.311, allocations: 0.5535 MB / 0.8869 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.312, allocations: 0.5038 MB / 0.8874 GB, free: 8.008 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004345/1.316, allocations: 3.087 MB / 0.8904 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009172/1.317, allocations: 0.5238 MB / 0.8909 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/1.348, allocations: 12.65 MB / 0.9033 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/1.348, allocations: 52 kB / 0.9033 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/1.348, allocations: 15.92 kB / 0.9033 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.553e-05/1.348, allocations: 15.95 kB / 0.9034 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0533/1.401, allocations: 24.25 MB / 0.927 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-05/1.401, allocations: 4 kB / 0.927 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/1.404, allocations: 0.5811 MB / 0.9276 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01929/1.424, allocations: 4.802 MB / 0.9323 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008032/1.425, allocations: 56 kB / 0.9323 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03197/1.457, allocations: 20.7 MB / 0.9526 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.457, allocations: 7.938 kB / 0.9526 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03958/1.496, allocations: 17.11 MB / 0.9693 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.498, allocations: 492.2 kB / 0.9697 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.499, allocations: 56.06 kB / 0.9698 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.502, allocations: 263.5 kB / 0.9701 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009131/1.503, allocations: 205.4 kB / 0.9702 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/1.504, allocations: 91.98 kB / 0.9703 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00646/1.51, allocations: 3.416 MB / 0.9737 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/1.51, allocations: 0 / 0.9737 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.3147/1.825, allocations: 1.678 MB / 0.9753 GB, free: 228.1 MB / 0.6544 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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03149/1.856, allocations: 17.78 MB / 0.9927 GB, free: 223.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01566/1.872, allocations: 10.24 MB / 1.003 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.872, allocations: 3.906 kB / 1.003 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/1.877, allocations: 3.745 MB / 1.006 GB, free: 217.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.881, allocations: 0.6431 MB / 1.007 GB, free: 217.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/2.012, allocations: 86.43 MB / 1.091 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004552/2.016, allocations: 4.614 MB / 1.096 GB, free: 121.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005938/2.022, allocations: 2.994 MB / 1.099 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004428/2.027, allocations: 2.913 MB / 1.102 GB, free: 115.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.854e-06/2.027, allocations: 0 / 1.102 GB, free: 115.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4959/2.523, allocations: 130.4 MB / 1.229 GB, free: 229.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.65/43.18, allocations: 12.81 kB / 1.229 GB, free: 229.8 MB / 0.67 GB " [Timeout remaining time 617] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 46.18247290793806] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 43.3481176039204 43.367496025 42.866876764 Calling exit ...