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.001303/0.001303, allocations: 110.5 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.001434/0.001434, allocations: 213.2 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 7.977 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.2261/0.2261, allocations: 46.92 MB / 361.6 MB, free: 4.164 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.00236/0.00236, allocations: 80.14 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3242, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01608/0.3403, allocations: 13.47 MB / 0.5747 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3511, allocations: 4.84 MB / 0.5794 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.3533, allocations: 115.4 kB / 0.5795 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007384/0.3607, allocations: 3.796 MB / 0.5832 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.3668, allocations: 2.222 MB / 0.5854 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.3694, allocations: 1.076 MB / 0.5864 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.3795, allocations: 6.674 MB / 0.5929 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005054/0.3846, allocations: 3.54 MB / 0.5964 GB, free: 376 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.3883, allocations: 2.06 MB / 0.5984 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/0.3937, allocations: 2.964 MB / 0.6013 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001413/0.3951, allocations: 428 kB / 0.6017 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.3984, allocations: 1.49 MB / 0.6032 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00315/0.4016, allocations: 2.544 MB / 0.6056 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004029/0.4056, allocations: 2.82 MB / 0.6084 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4174, allocations: 8.946 MB / 0.6171 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4174, allocations: 0 / 0.6171 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4174, allocations: 4 kB / 0.6171 GB, free: 11.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003093/0.4177, allocations: 3.938 kB / 0.6171 GB, free: 11.04 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.01703/0.4348, allocations: 6.517 MB / 0.6235 GB, free: 4.457 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4348, allocations: 12.03 kB / 0.6235 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/0.4367, allocations: 0.9043 MB / 0.6244 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03291/0.4696, allocations: 6.051 MB / 0.6303 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.4824, allocations: 4.578 MB / 0.6348 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.4827, allocations: 283.5 kB / 0.6351 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.484, allocations: 395.7 kB / 0.6354 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.5059, allocations: 11.9 MB / 0.6471 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.506, allocations: 63.52 kB / 0.6471 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005194/0.5065, allocations: 175.9 kB / 0.6473 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003346/0.5099, allocations: 2.14 MB / 0.6494 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.5309, allocations: 10.16 MB / 0.6593 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06474/0.5957, allocations: 47 MB / 0.7052 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/0.6098, allocations: 5.122 MB / 0.7102 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.6137, allocations: 2.653 MB / 0.7128 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/0.6277, allocations: 8.293 MB / 0.7209 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.6278, allocations: 59.8 kB / 0.7209 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=206): time 4.739e-06/0.6278, allocations: 0 / 0.7209 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.3655/0.9933, allocations: 34.79 MB / 0.7549 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.9934, allocations: 208.6 kB / 0.7551 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/0.9992, allocations: 4.794 MB / 0.7598 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005804/0.9997, allocations: 65.7 kB / 0.7599 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.001, allocations: 3.738 MB / 0.7635 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009127/1.002, allocations: 1.004 MB / 0.7645 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.004, allocations: 1.361 MB / 0.7658 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/1.004, allocations: 301.1 kB / 0.7661 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/1.007, allocations: 3.031 MB / 0.7691 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004848/1.012, allocations: 6.84 MB / 0.7757 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00952/1.022, allocations: 10.67 MB / 0.7862 GB, free: 115 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/1.022, allocations: 40 kB / 0.7862 GB, free: 115 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02255/1.044, allocations: 13.18 MB / 0.7991 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/1.044, allocations: 64 kB / 0.7991 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/1.045, allocations: 132 kB / 0.7993 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/1.056, allocations: 4.221 MB / 0.8034 GB, free: 97.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.06, allocations: 1.407 MB / 0.8048 GB, free: 95.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03262/1.093, allocations: 28.26 MB / 0.8324 GB, free: 67.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/1.098, allocations: 403.3 kB / 0.8327 GB, free: 66.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.1, allocations: 396 kB / 0.8331 GB, free: 66.56 MB / 0.5606 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.004474/1.104, allocations: 2.463 MB / 0.8355 GB, free: 64.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.105, allocations: 464.9 kB / 0.836 GB, free: 63.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/1.12, allocations: 8.179 MB / 0.844 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-05/1.12, allocations: 28 kB / 0.844 GB, free: 55.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-05/1.12, allocations: 12 kB / 0.844 GB, free: 55.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.187e-05/1.12, allocations: 11.95 kB / 0.844 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03071/1.151, allocations: 16.64 MB / 0.8603 GB, free: 38.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/1.151, allocations: 4.594 kB / 0.8603 GB, free: 38.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.153, allocations: 307.5 kB / 0.8606 GB, free: 38.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009085/1.162, allocations: 3.799 MB / 0.8643 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005375/1.162, allocations: 44 kB / 0.8643 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0303/1.192, allocations: 27.06 MB / 0.8907 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.193, allocations: 8 kB / 0.8907 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02194/1.214, allocations: 12.1 MB / 0.9026 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.216, allocations: 440.7 kB / 0.903 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.218, allocations: 44 kB / 0.903 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.22, allocations: 167.8 kB / 0.9032 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009839/1.221, allocations: 213.9 kB / 0.9034 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/1.222, allocations: 71.91 kB / 0.9035 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005982/1.228, allocations: 3.035 MB / 0.9064 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.228, allocations: 0 / 0.9064 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006653/1.234, allocations: 1.402 MB / 0.9078 GB, free: 5.484 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 (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.02378/1.258, allocations: 12.75 MB / 0.9202 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.273, allocations: 7.918 MB / 0.928 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.273, allocations: 0 / 0.928 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006693/1.28, allocations: 3.273 MB / 0.9312 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/1.285, allocations: 0.6098 MB / 0.9318 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.425/1.71, allocations: 64.23 MB / 0.9945 GB, free: 231 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/1.714, allocations: 3.919 MB / 0.9983 GB, free: 230.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004302/1.718, allocations: 2.004 MB / 1 GB, free: 230.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/1.721, allocations: 2.364 MB / 1.003 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.174e-06/1.721, allocations: 3.031 kB / 1.003 GB, free: 228.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1614/1.882, allocations: 119.6 MB / 1.119 GB, free: 113.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.46/24.34, allocations: 9.656 kB / 1.119 GB, free: 113.9 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.329273006878793] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 24.50509007135406 24.526614106 24.104406587 Calling exit ...