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.001402/0.001402, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001511/0.001511, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.29/1.29, allocations: 230.2 MB / 256.2 MB, free: 8.578 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.2024/0.2024, allocations: 46.88 MB / 359.3 MB, free: 4.965 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.002126/0.002126, allocations: 79.86 kB / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2668, allocations: 65.99 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.0128/0.2796, allocations: 12.1 MB / 0.5702 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00822/0.2878, allocations: 4.363 MB / 0.5745 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2892, allocations: 71.81 kB / 0.5745 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.2938, allocations: 2.776 MB / 0.5773 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.2983, allocations: 2.035 MB / 0.5792 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3, allocations: 0.9085 MB / 0.5801 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007148/0.3071, allocations: 5.676 MB / 0.5857 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.3101, allocations: 2.542 MB / 0.5882 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.3124, allocations: 1.721 MB / 0.5898 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.316, allocations: 2.714 MB / 0.5925 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007207/0.3167, allocations: 388 kB / 0.5929 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.3191, allocations: 1.436 MB / 0.5943 GB, free: 348 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.3212, allocations: 2.255 MB / 0.5965 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.3237, allocations: 2.486 MB / 0.5989 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008153/0.3318, allocations: 8.02 MB / 0.6067 GB, free: 3.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.3318, allocations: 4 kB / 0.6067 GB, free: 3.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3318, allocations: 0 / 0.6067 GB, free: 3.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001548/0.332, allocations: 0 / 0.6067 GB, free: 3.523 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.01153/0.3435, allocations: 5.806 MB / 0.6124 GB, free: 13.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3435, allocations: 8.031 kB / 0.6124 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.3447, allocations: 0.8045 MB / 0.6132 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0356/0.3803, allocations: 5.993 MB / 0.619 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007412/0.3877, allocations: 3.865 MB / 0.6228 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.3879, allocations: 246.3 kB / 0.6231 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006116/0.3885, allocations: 331.8 kB / 0.6234 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.4047, allocations: 10.78 MB / 0.6339 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.4048, allocations: 51.58 kB / 0.6339 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.4053, allocations: 159.8 kB / 0.6341 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003019/0.4083, allocations: 1.998 MB / 0.6361 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.4248, allocations: 9.233 MB / 0.6451 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0441/0.4689, allocations: 40.89 MB / 0.685 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009922/0.4788, allocations: 4.059 MB / 0.689 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.4811, allocations: 1.736 MB / 0.6907 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009971/0.4911, allocations: 7.491 MB / 0.698 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.4912, allocations: 55.44 kB / 0.698 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 3.346e-06/0.4912, allocations: 4 kB / 0.698 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.3582/0.8494, allocations: 40.86 MB / 0.7379 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.8494, allocations: 204.6 kB / 0.7381 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.8536, allocations: 4.333 MB / 0.7424 GB, free: 155 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000385/0.8539, allocations: 57.64 kB / 0.7424 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.8552, allocations: 3.341 MB / 0.7457 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006401/0.8558, allocations: 0.9087 MB / 0.7466 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/0.8572, allocations: 1.302 MB / 0.7478 GB, free: 152 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.8572, allocations: 301.1 kB / 0.7481 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003385/0.8606, allocations: 3.489 MB / 0.7515 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004334/0.8649, allocations: 7.115 MB / 0.7585 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008502/0.8734, allocations: 11.37 MB / 0.7696 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.522e-05/0.8735, allocations: 36 kB / 0.7696 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03058/0.9041, allocations: 15.67 MB / 0.7849 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.9041, allocations: 60.19 kB / 0.785 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.455e-05/0.9042, allocations: 128 kB / 0.7851 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0204/0.9246, allocations: 6.061 MB / 0.791 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/0.9288, allocations: 1.435 MB / 0.7924 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/0.9547, allocations: 27.14 MB / 0.8189 GB, free: 80.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004857/0.9595, allocations: 404.3 kB / 0.8193 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005982/0.9601, allocations: 375.2 kB / 0.8197 GB, free: 79.33 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.00254/0.9627, allocations: 2.226 MB / 0.8218 GB, free: 77.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006489/0.9633, allocations: 421.1 kB / 0.8222 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02456/0.9879, allocations: 11.01 MB / 0.833 GB, free: 65.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/0.9879, allocations: 31.98 kB / 0.833 GB, free: 65.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.9879, allocations: 8 kB / 0.833 GB, free: 65.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/0.988, allocations: 15.91 kB / 0.833 GB, free: 65.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03447/1.022, allocations: 20.45 MB / 0.853 GB, free: 44.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/1.022, allocations: 4 kB / 0.853 GB, free: 44.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.024, allocations: 387.4 kB / 0.8534 GB, free: 44.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01833/1.043, allocations: 5.141 MB / 0.8584 GB, free: 39.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004062/1.043, allocations: 44 kB / 0.8584 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/1.064, allocations: 22.25 MB / 0.8802 GB, free: 16.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.065, allocations: 15.94 kB / 0.8802 GB, free: 16.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/1.091, allocations: 14.29 MB / 0.8941 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/1.092, allocations: 466.2 kB / 0.8946 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/1.092, allocations: 45.23 kB / 0.8946 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.094, allocations: 179.7 kB / 0.8948 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005129/1.095, allocations: 161 kB / 0.895 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.095, allocations: 60.55 kB / 0.895 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003255/1.098, allocations: 2.727 MB / 0.8977 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.098, allocations: 0 / 0.8977 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004753/1.103, allocations: 1.316 MB / 0.899 GB, free: 13.33 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.03124/1.134, allocations: 14.92 MB / 0.9135 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.145, allocations: 7.8 MB / 0.9211 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.145, allocations: 3.938 kB / 0.9211 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004194/1.15, allocations: 2.956 MB / 0.924 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.152, allocations: 0.5218 MB / 0.9245 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3234/1.476, allocations: 67.08 MB / 0.9901 GB, free: 236 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/1.479, allocations: 3.509 MB / 0.9935 GB, free: 235.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003721/1.483, 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.002028/1.485, allocations: 2.07 MB / 0.9974 GB, free: 233.3 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/1.485, allocations: 0 / 0.9974 GB, free: 233.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/1.611, allocations: 107.1 MB / 1.102 GB, free: 130.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.16/23.77, allocations: 7.922 kB / 1.102 GB, free: 130.1 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 & /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 --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: 26.399584550003055]