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.001699/0.001699, allocations: 121.6 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.002054/0.002054, allocations: 205 kB / 21.45 MB, free: 1.629 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.578/1.578, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2383/0.2383, allocations: 46.92 MB / 357.7 MB, free: 10.25 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.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.002344/0.002344, allocations: 79.86 kB / 0.4917 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1502, allocations: 66.05 MB / 0.5562 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01837/0.1686, allocations: 15.05 MB / 0.5709 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.1811, allocations: 4.85 MB / 0.5756 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.1847, allocations: 107.5 kB / 0.5757 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007302/0.1921, allocations: 3.196 MB / 0.5788 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008011/0.2001, allocations: 2.592 MB / 0.5813 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.2035, allocations: 0.9788 MB / 0.5823 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.2159, allocations: 7.061 MB / 0.5892 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3184/0.5343, allocations: 3.713 MB / 0.5928 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.5391, allocations: 2.252 MB / 0.595 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007071/0.5462, allocations: 3.529 MB / 0.5985 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002964/0.5492, allocations: 486.2 kB / 0.5989 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.5549, allocations: 1.534 MB / 0.6004 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00612/0.5611, allocations: 2.934 MB / 0.6033 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009076/0.5701, allocations: 3.292 MB / 0.6065 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.5856, allocations: 10.56 MB / 0.6168 GB, free: 3.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5857, allocations: 0.9062 kB / 0.6168 GB, free: 3.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5857, allocations: 0 / 0.6168 GB, free: 3.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000379/0.586, allocations: 0 / 0.6168 GB, free: 3.031 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02323/0.6093, allocations: 7.658 MB / 0.6243 GB, free: 14.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6093, allocations: 10.41 kB / 0.6243 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00369/0.613, allocations: 1.131 MB / 0.6254 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04507/0.6581, allocations: 7.51 MB / 0.6328 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.67, allocations: 4.716 MB / 0.6374 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.6702, allocations: 324.5 kB / 0.6377 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002277/0.6725, allocations: 437 kB / 0.6381 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/0.7106, allocations: 15.62 MB / 0.6533 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/0.7109, allocations: 69.48 kB / 0.6534 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/0.7132, allocations: 203 kB / 0.6536 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006346/0.7195, allocations: 3.21 MB / 0.6567 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03204/0.7516, allocations: 13.95 MB / 0.6704 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09013/0.8417, allocations: 57.2 MB / 0.7262 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.857, allocations: 6.2 MB / 0.7323 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005723/0.8628, allocations: 3.273 MB / 0.7355 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02651/0.8893, allocations: 14.44 MB / 0.7496 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.8893, allocations: 63.28 kB / 0.7496 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 6.532e-06/0.8893, allocations: 0 / 0.7496 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.162/1.051, allocations: 42.04 MB / 0.7907 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/1.051, allocations: 217 kB / 0.7909 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.062, allocations: 5.491 MB / 0.7963 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/1.063, allocations: 76.2 kB / 0.7963 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005194/1.069, allocations: 4.588 MB / 0.8008 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002428/1.071, allocations: 1.308 MB / 0.8021 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003943/1.075, allocations: 1.789 MB / 0.8038 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.075, allocations: 305.1 kB / 0.8041 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008246/1.083, allocations: 4.64 MB / 0.8087 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/1.097, allocations: 9.613 MB / 0.818 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02244/1.12, allocations: 15.31 MB / 0.833 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001617/1.12, allocations: 48 kB / 0.833 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.3472/1.467, allocations: 19.01 MB / 0.8516 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.467, allocations: 79.19 kB / 0.8517 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003215/1.467, allocations: 176.7 kB / 0.8518 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/1.491, allocations: 5.769 MB / 0.8575 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/1.499, allocations: 2.068 MB / 0.8595 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02774/1.526, allocations: 25.66 MB / 0.8846 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0082/1.535, allocations: 0.5447 MB / 0.8851 GB, free: 210.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.537, allocations: 0.4987 MB / 0.8856 GB, free: 210.6 MB / 0.6544 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.006325/1.543, allocations: 3.095 MB / 0.8886 GB, free: 209.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.544, allocations: 0.5205 MB / 0.8891 GB, free: 209.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02957/1.574, allocations: 12.65 MB / 0.9015 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/1.574, allocations: 62.81 kB / 0.9015 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/1.574, allocations: 12.78 kB / 0.9015 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.323e-05/1.574, allocations: 15.95 kB / 0.9016 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04712/1.621, allocations: 24.28 MB / 0.9253 GB, free: 173.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.105e-05/1.621, allocations: 7.938 kB / 0.9253 GB, free: 173.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/1.624, allocations: 0.5789 MB / 0.9258 GB, free: 173.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01852/1.643, allocations: 4.805 MB / 0.9305 GB, free: 168.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009514/1.644, allocations: 61.03 kB / 0.9306 GB, free: 168.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/1.666, allocations: 20.91 MB / 0.951 GB, free: 147.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.666, allocations: 11.94 kB / 0.951 GB, free: 147.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03226/1.698, allocations: 17.11 MB / 0.9677 GB, free: 130.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.7, allocations: 0.548 MB / 0.9683 GB, free: 129.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/1.701, allocations: 59.92 kB / 0.9683 GB, free: 129.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/1.704, allocations: 256.5 kB / 0.9686 GB, free: 129.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008834/1.705, allocations: 200 kB / 0.9688 GB, free: 129.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000293/1.705, allocations: 85.17 kB / 0.9688 GB, free: 129.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00488/1.71, allocations: 3.423 MB / 0.9722 GB, free: 125.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/1.71, allocations: 0 / 0.9722 GB, free: 125.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00806/1.718, allocations: 1.688 MB / 0.9738 GB, free: 124.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.03306/1.751, allocations: 17.77 MB / 0.9912 GB, free: 106.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01489/1.766, allocations: 10.24 MB / 1.001 GB, free: 95.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.766, allocations: 4 kB / 1.001 GB, free: 95.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005548/1.772, allocations: 3.741 MB / 1.005 GB, free: 92.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006782/1.779, allocations: 0.6387 MB / 1.005 GB, free: 91.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4384/2.217, allocations: 86.28 MB / 1.09 GB, free: 219.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/2.227, allocations: 4.617 MB / 1.094 GB, free: 218.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.009466/2.237, allocations: 2.993 MB / 1.097 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005685/2.243, allocations: 2.916 MB / 1.1 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.443e-06/2.243, allocations: 0 / 1.1 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2298/2.472, allocations: 126.4 MB / 1.223 GB, free: 115.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.08/42.56, allocations: 0 / 1.223 GB, free: 115.8 MB / 0.6544 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_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_UniversalSpherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 45.899268564768136] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 42.711185589432716 42.730743862 42.14098897 Calling exit ...