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.001794/0.001794, allocations: 113.2 kB / 20.22 MB, free: 1.793 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.002458/0.002458, allocations: 212.6 kB / 23.48 MB, free: 5.227 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.426/1.426, allocations: 230.2 MB / 256.8 MB, free: 8.559 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.2308/0.2308, allocations: 46.88 MB / 360 MB, free: 4.707 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.003703/0.003703, allocations: 83.84 kB / 0.4951 GB, free: 8.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3778, allocations: 65.99 MB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01669/0.3945, allocations: 15.08 MB / 0.5743 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.4049, allocations: 4.867 MB / 0.579 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.4086, allocations: 91.75 kB / 0.5791 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.4153, allocations: 3.212 MB / 0.5822 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.422, allocations: 2.592 MB / 0.5848 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.4242, allocations: 0.9904 MB / 0.5857 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00993/0.4341, allocations: 7.043 MB / 0.5926 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.4388, allocations: 3.229 MB / 0.5958 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.4427, allocations: 2.227 MB / 0.5979 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005721/0.4484, allocations: 3.528 MB / 0.6014 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001729/0.4501, allocations: 484 kB / 0.6018 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004344/0.4544, allocations: 1.537 MB / 0.6033 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004133/0.4586, allocations: 2.933 MB / 0.6062 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005618/0.4642, allocations: 3.289 MB / 0.6094 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4772, allocations: 10.56 MB / 0.6197 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.4772, allocations: 3.984 kB / 0.6197 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4772, allocations: 0 / 0.6197 GB, free: 7.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003337/0.4775, allocations: 4 kB / 0.6197 GB, free: 7.016 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0188/0.4963, allocations: 7.651 MB / 0.6272 GB, free: 15.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4964, allocations: 8.031 kB / 0.6272 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002734/0.4991, allocations: 1.133 MB / 0.6283 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04297/0.5421, allocations: 7.508 MB / 0.6357 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.5528, allocations: 4.725 MB / 0.6403 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.5531, allocations: 320.2 kB / 0.6406 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.5547, allocations: 435.7 kB / 0.641 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/0.5825, allocations: 15.63 MB / 0.6563 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.5827, allocations: 59.52 kB / 0.6563 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006668/0.5833, allocations: 207.8 kB / 0.6565 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005276/0.5886, allocations: 3.208 MB / 0.6596 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02878/0.6174, allocations: 13.96 MB / 0.6733 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08267/0.7001, allocations: 57.19 MB / 0.7291 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2666/0.9667, allocations: 6.209 MB / 0.7352 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004103/0.9708, allocations: 3.277 MB / 0.7384 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01651/0.9873, allocations: 14.43 MB / 0.7525 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.9873, allocations: 65.09 kB / 0.7525 GB, free: 143 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=289): time 6.402e-06/0.9873, allocations: 0 / 0.7525 GB, free: 143 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.1257/1.113, allocations: 42.05 MB / 0.7936 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.113, allocations: 218 kB / 0.7938 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006325/1.119, allocations: 5.489 MB / 0.7992 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009007/1.12, allocations: 77.7 kB / 0.7992 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002187/1.123, allocations: 4.584 MB / 0.8037 GB, free: 97.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/1.124, allocations: 1.31 MB / 0.805 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002396/1.126, allocations: 1.785 MB / 0.8067 GB, free: 94.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/1.126, allocations: 305.1 kB / 0.807 GB, free: 93.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005431/1.132, allocations: 4.647 MB / 0.8116 GB, free: 89.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007483/1.139, allocations: 9.611 MB / 0.821 GB, free: 77.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.154, allocations: 15.3 MB / 0.8359 GB, free: 59.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.154, allocations: 48 kB / 0.8359 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.03952/1.193, allocations: 19.01 MB / 0.8545 GB, free: 40.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/1.193, allocations: 80 kB / 0.8546 GB, free: 40.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002745/1.194, allocations: 176 kB / 0.8548 GB, free: 40.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02083/1.215, allocations: 5.773 MB / 0.8604 GB, free: 34.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006847/1.221, allocations: 2.063 MB / 0.8624 GB, free: 32.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02884/1.25, allocations: 25.67 MB / 0.8875 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007978/1.258, allocations: 0.5486 MB / 0.888 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/1.26, allocations: 0.5 MB / 0.8885 GB, free: 5.234 MB / 0.5606 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.005906/1.266, allocations: 3.091 MB / 0.8915 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.267, allocations: 0.5238 MB / 0.892 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03454/1.302, allocations: 12.65 MB / 0.9044 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001181/1.302, allocations: 59.97 kB / 0.9044 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/1.302, allocations: 15.94 kB / 0.9045 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-05/1.302, allocations: 15.95 kB / 0.9045 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0573/1.359, allocations: 24.26 MB / 0.9282 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.57e-05/1.359, allocations: 8 kB / 0.9282 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.363, allocations: 0.5817 MB / 0.9287 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02033/1.383, allocations: 4.809 MB / 0.9334 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007579/1.384, allocations: 56 kB / 0.9335 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02964/1.413, allocations: 20.9 MB / 0.9539 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.413, allocations: 7.938 kB / 0.9539 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03819/1.451, allocations: 17.12 MB / 0.9706 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.454, allocations: 0.5523 MB / 0.9712 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/1.455, allocations: 55.98 kB / 0.9712 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.459, allocations: 259.6 kB / 0.9715 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000886/1.46, allocations: 193.4 kB / 0.9717 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/1.46, allocations: 84 kB / 0.9717 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.3219/1.782, allocations: 3.414 MB / 0.9751 GB, free: 226.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.782, allocations: 0 / 0.9751 GB, free: 226.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008764/1.791, allocations: 1.689 MB / 0.9767 GB, free: 226.9 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.03136/1.822, allocations: 17.77 MB / 0.9941 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.836, allocations: 10.25 MB / 1.004 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/1.836, allocations: 3.844 kB / 1.004 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00475/1.841, allocations: 3.738 MB / 1.008 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.845, allocations: 0.6449 MB / 1.008 GB, free: 216.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1273/1.972, allocations: 86.42 MB / 1.093 GB, free: 125.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/1.977, allocations: 4.621 MB / 1.097 GB, free: 120.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005786/1.982, allocations: 2.99 MB / 1.1 GB, free: 117.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003916/1.986, allocations: 2.921 MB / 1.103 GB, free: 114.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/1.986, allocations: 0 / 1.103 GB, free: 114.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4647/2.451, allocations: 123.8 MB / 1.224 GB, free: 227.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.49/41.95, allocations: 3.875 kB / 1.224 GB, free: 227.7 MB / 0.67 GB " [Timeout remaining time 618] (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.07032117701601] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 42.10359659709502 42.121347584 41.64010135 Calling exit ...