Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001252/0.001252, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001392/0.001392, allocations: 212.4 kB / 23 MB, free: 5.609 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.442/1.442, allocations: 230.2 MB / 256.2 MB, free: 8.688 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.2288/0.2288, allocations: 46.9 MB / 359.4 MB, free: 4.922 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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.002692/0.002692, allocations: 83.86 kB / 0.4941 GB, free: 9.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3911, allocations: 65.97 MB / 0.5586 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01032/0.4014, allocations: 13.47 MB / 0.5717 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4146, allocations: 4.837 MB / 0.5764 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.4185, allocations: 93.78 kB / 0.5765 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.4291, allocations: 3.791 MB / 0.5802 GB, free: 19.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.4392, allocations: 2.21 MB / 0.5824 GB, free: 18.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.4424, allocations: 1.074 MB / 0.5834 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.4573, allocations: 6.663 MB / 0.5899 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006633/0.464, allocations: 3.255 MB / 0.5931 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006607/0.4706, allocations: 2.034 MB / 0.5951 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007349/0.4779, allocations: 2.954 MB / 0.598 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002697/0.4806, allocations: 429.5 kB / 0.5984 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006637/0.4872, allocations: 1.485 MB / 0.5998 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006266/0.4935, allocations: 2.538 MB / 0.6023 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009346/0.5029, allocations: 2.834 MB / 0.6051 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0164/0.5193, allocations: 8.942 MB / 0.6138 GB, free: 14.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5193, allocations: 0 / 0.6138 GB, free: 14.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5193, allocations: 0 / 0.6138 GB, free: 14.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003573/0.5196, allocations: 0 / 0.6138 GB, free: 14.72 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01844/0.5381, allocations: 6.596 MB / 0.6203 GB, free: 8.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5381, allocations: 12.03 kB / 0.6203 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002405/0.5405, allocations: 0.912 MB / 0.6212 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03892/0.5794, allocations: 6.051 MB / 0.6271 GB, free: 1.043 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.5911, allocations: 4.662 MB / 0.6316 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.5914, allocations: 291.4 kB / 0.6319 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.5928, allocations: 391.7 kB / 0.6323 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.6147, allocations: 11.91 MB / 0.6439 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.6149, allocations: 59.53 kB / 0.644 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004979/0.6154, allocations: 179.8 kB / 0.6441 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.619, allocations: 2.14 MB / 0.6462 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.6418, allocations: 10.17 MB / 0.6562 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06463/0.7064, allocations: 47.12 MB / 0.7022 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.7212, allocations: 5.557 MB / 0.7076 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003872/0.7251, allocations: 2.636 MB / 0.7102 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01425/0.7394, allocations: 8.773 MB / 0.7187 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.7394, allocations: 59.81 kB / 0.7188 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 5.4e-06/0.7394, allocations: 0 / 0.7188 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.1236/0.8631, allocations: 34.93 MB / 0.7529 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.8632, allocations: 213.8 kB / 0.7531 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007479/0.8707, allocations: 4.805 MB / 0.7578 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006036/0.8713, allocations: 61.7 kB / 0.7579 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003728/0.875, allocations: 3.73 MB / 0.7615 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001973/0.877, allocations: 1.012 MB / 0.7625 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002503/0.8795, allocations: 1.358 MB / 0.7638 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8796, allocations: 301.1 kB / 0.7641 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2765/1.156, allocations: 3.023 MB / 0.7671 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007161/1.163, allocations: 6.844 MB / 0.7737 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/1.175, allocations: 10.67 MB / 0.7842 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002231/1.175, allocations: 41.16 kB / 0.7842 GB, free: 152.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02934/1.204, allocations: 13.18 MB / 0.7971 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.205, allocations: 62.72 kB / 0.7971 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/1.205, allocations: 132.1 kB / 0.7973 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/1.218, allocations: 4.217 MB / 0.8014 GB, free: 147.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005233/1.224, allocations: 1.415 MB / 0.8028 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03448/1.258, allocations: 28.58 MB / 0.8307 GB, free: 133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/1.264, allocations: 405.9 kB / 0.8311 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.266, allocations: 395.2 kB / 0.8314 GB, free: 132.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004565/1.27, allocations: 2.471 MB / 0.8338 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.271, allocations: 461.8 kB / 0.8343 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.286, allocations: 8.177 MB / 0.8423 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/1.286, allocations: 32 kB / 0.8423 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/1.286, allocations: 12 kB / 0.8423 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.877e-05/1.286, allocations: 11.95 kB / 0.8423 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.313, allocations: 16.68 MB / 0.8586 GB, free: 105.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.459e-05/1.313, allocations: 8 kB / 0.8586 GB, free: 105.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.314, allocations: 299.5 kB / 0.8589 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009311/1.324, allocations: 3.795 MB / 0.8626 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/1.324, allocations: 52 kB / 0.8627 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02907/1.353, allocations: 27.36 MB / 0.8894 GB, free: 73.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.353, allocations: 7.984 kB / 0.8894 GB, free: 73.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.372, allocations: 12.08 MB / 0.9012 GB, free: 61.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.373, allocations: 0.5039 MB / 0.9017 GB, free: 61.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007601/1.374, allocations: 55.36 kB / 0.9017 GB, free: 61.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.376, allocations: 163.8 kB / 0.9019 GB, free: 60.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/1.377, allocations: 190 kB / 0.9021 GB, free: 60.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.377, allocations: 72 kB / 0.9021 GB, free: 60.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003677/1.38, allocations: 3.039 MB / 0.9051 GB, free: 57.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.38, allocations: 192 / 0.9051 GB, free: 57.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006097/1.387, allocations: 1.407 MB / 0.9065 GB, free: 56.25 MB / 0.5919 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01797/1.404, allocations: 12.77 MB / 0.9189 GB, free: 43.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.417, allocations: 7.916 MB / 0.9267 GB, free: 35.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/1.417, allocations: 4 kB / 0.9267 GB, free: 35.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005039/1.422, allocations: 3.276 MB / 0.9299 GB, free: 32.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.426, allocations: 0.6098 MB / 0.9305 GB, free: 31.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/1.537, allocations: 64.23 MB / 0.9932 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005911/1.543, allocations: 3.925 MB / 0.997 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005038/1.548, allocations: 1.999 MB / 0.999 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004002/1.552, allocations: 2.366 MB / 1.001 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/1.552, allocations: 0 / 1.001 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4605/2.012, allocations: 114.6 MB / 1.113 GB, free: 154.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.54/24.55, allocations: 11.94 kB / 1.113 GB, free: 154.7 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.39048166500288] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 24.711383165995358 24.720029766 24.198182273 Calling exit ...