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.001269/0.001269, allocations: 122 kB / 18.46 MB, free: 4.609 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.001464/0.001464, allocations: 208.9 kB / 21.41 MB, free: 1.66 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.44/1.44, allocations: 227.4 MB / 251.7 MB, free: 280 kB / 190.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.2246/0.2246, allocations: 46.14 MB / 351.1 MB, free: 14.37 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.003528/0.003528, allocations: 77.11 kB / 489.6 MB, free: 28.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1534, allocations: 62.45 MB / 0.5392 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01366/0.1671, allocations: 12.02 MB / 0.5509 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00932/0.1765, allocations: 4.31 MB / 0.5551 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.1791, allocations: 75.75 kB / 0.5552 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005395/0.1846, allocations: 2.733 MB / 0.5578 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.1897, allocations: 1.98 MB / 0.5598 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.1918, allocations: 0.9047 MB / 0.5607 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008235/0.2, allocations: 5.665 MB / 0.5662 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004838/0.2049, allocations: 3.354 MB / 0.5695 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.208, allocations: 1.713 MB / 0.5711 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.2121, allocations: 2.508 MB / 0.5736 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.2134, allocations: 384 kB / 0.574 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.2167, allocations: 1.393 MB / 0.5753 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00297/0.2197, allocations: 2.166 MB / 0.5774 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004107/0.2238, allocations: 2.494 MB / 0.5799 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00991/0.2337, allocations: 8.012 MB / 0.5877 GB, free: 2.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.2338, allocations: 0 / 0.5877 GB, free: 2.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2338, allocations: 0 / 0.5877 GB, free: 2.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002276/0.234, allocations: 0 / 0.5877 GB, free: 2.91 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.0135/0.2475, allocations: 5.814 MB / 0.5934 GB, free: 13.01 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2476, allocations: 8.031 kB / 0.5934 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001288/0.2489, allocations: 0.8084 MB / 0.5942 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.038/0.2869, allocations: 5.981 MB / 0.6 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008668/0.2956, allocations: 3.869 MB / 0.6038 GB, free: 2.266 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.2959, allocations: 242.3 kB / 0.604 GB, free: 2.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.2969, allocations: 339.7 kB / 0.6043 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2679/0.5648, allocations: 10.77 MB / 0.6149 GB, free: 51.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.5651, allocations: 51.27 kB / 0.6149 GB, free: 51.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004971/0.5656, allocations: 154.8 kB / 0.6151 GB, free: 51.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003572/0.5692, allocations: 2 MB / 0.617 GB, free: 51.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.5883, allocations: 9.237 MB / 0.626 GB, free: 48.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0361/0.6244, allocations: 40.89 MB / 0.666 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00885/0.6333, allocations: 4.23 MB / 0.6701 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.6352, allocations: 1.891 MB / 0.672 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008598/0.6438, allocations: 7.501 MB / 0.6793 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.6438, allocations: 55.48 kB / 0.6793 GB, free: 13.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 5.611e-06/0.6439, allocations: 4 kB / 0.6793 GB, free: 13.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.1664/0.8103, allocations: 40.88 MB / 0.7193 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.8104, allocations: 209.9 kB / 0.7195 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006236/0.8167, allocations: 4.334 MB / 0.7237 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005355/0.8172, allocations: 61.7 kB / 0.7237 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.8199, allocations: 3.334 MB / 0.727 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/0.8211, allocations: 0.9147 MB / 0.7279 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/0.8231, allocations: 1.29 MB / 0.7292 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8233, allocations: 305.1 kB / 0.7294 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005277/0.8285, allocations: 3.497 MB / 0.7329 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008523/0.8371, allocations: 7.106 MB / 0.7398 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01562/0.8527, allocations: 11.38 MB / 0.7509 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.8529, allocations: 36 kB / 0.7509 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.0408/0.8937, allocations: 15.72 MB / 0.7663 GB, free: 1.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.8938, allocations: 63.94 kB / 0.7664 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/0.894, allocations: 124 kB / 0.7665 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02452/0.9185, allocations: 6.062 MB / 0.7724 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005534/0.9241, allocations: 1.431 MB / 0.7738 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04086/0.965, allocations: 27.14 MB / 0.8003 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005702/0.9707, allocations: 411.4 kB / 0.8007 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.9721, allocations: 372.5 kB / 0.801 GB, free: 13.42 MB / 0.5919 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.004665/0.9767, allocations: 2.209 MB / 0.8032 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/0.9779, allocations: 417.2 kB / 0.8036 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03049/1.008, allocations: 11.05 MB / 0.8144 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-05/1.008, allocations: 24 kB / 0.8144 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/1.008, allocations: 15.98 kB / 0.8144 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.164e-05/1.009, allocations: 7.969 kB / 0.8144 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04667/1.055, allocations: 20.49 MB / 0.8345 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/1.055, allocations: 10.25 kB / 0.8345 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.057, allocations: 388 kB / 0.8348 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02071/1.078, allocations: 5.144 MB / 0.8399 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005327/1.079, allocations: 48 kB / 0.8399 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.32/1.399, allocations: 22.23 MB / 0.8616 GB, free: 204.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.399, allocations: 5.438 kB / 0.8616 GB, free: 204.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03031/1.429, allocations: 14.32 MB / 0.8756 GB, free: 199.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/1.43, allocations: 465.9 kB / 0.876 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/1.431, allocations: 50.89 kB / 0.8761 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.433, allocations: 181.7 kB / 0.8763 GB, free: 199.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006385/1.434, allocations: 151.3 kB / 0.8764 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/1.434, allocations: 63.91 kB / 0.8765 GB, free: 199.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003296/1.437, allocations: 2.729 MB / 0.8791 GB, free: 198.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/1.437, allocations: 0 / 0.8791 GB, free: 198.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004929/1.442, allocations: 1.312 MB / 0.8804 GB, free: 198.5 MB / 0.6231 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.02728/1.469, allocations: 14.96 MB / 0.895 GB, free: 189.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009843/1.479, allocations: 8.119 MB / 0.903 GB, free: 181.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.479, allocations: 0 / 0.903 GB, free: 181.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/1.483, allocations: 3.174 MB / 0.9061 GB, free: 178.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.487, allocations: 0.5439 MB / 0.9066 GB, free: 178.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/1.589, allocations: 67.07 MB / 0.9721 GB, free: 105.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/1.592, allocations: 3.509 MB / 0.9755 GB, free: 101.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003815/1.596, allocations: 1.968 MB / 0.9774 GB, free: 99.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/1.598, allocations: 2.069 MB / 0.9795 GB, free: 97.86 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/1.598, allocations: 0 / 0.9795 GB, free: 97.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4288/2.027, allocations: 105.4 MB / 1.082 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.92/26.95, allocations: 7.766 kB / 1.082 GB, free: 212.2 MB / 0.6387 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.035403511021286] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 27.089774482883513 27.109830521 26.872471905 Calling exit ...