Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 224.6 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.24 MB / 330.3 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 67.91 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 61.04 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02176/0.1442, allocations: 17.91 MB / 0.5336 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.24/0.3842, allocations: 5.71 MB / 0.5392 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004113/0.3883, allocations: 127.5 kB / 0.5393 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.3995, allocations: 4.663 MB / 0.5439 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.4098, allocations: 3.132 MB / 0.5469 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.4134, allocations: 1.498 MB / 0.5484 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01395/0.4273, allocations: 8.619 MB / 0.5568 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007475/0.4348, allocations: 5.276 MB / 0.562 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006334/0.4411, allocations: 3.076 MB / 0.565 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007279/0.4484, allocations: 4.646 MB / 0.5695 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.451, allocations: 0.6638 MB / 0.5702 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.4563, allocations: 1.887 MB / 0.572 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006508/0.4628, allocations: 3.864 MB / 0.5758 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01195/0.4747, allocations: 4.275 MB / 0.58 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0202/0.4949, allocations: 13.78 MB / 0.5934 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.495, allocations: 0 / 0.5934 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.495, allocations: 4 kB / 0.5934 GB, free: 408 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004876/0.4954, allocations: 3.938 kB / 0.5934 GB, free: 404 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02474/0.5202, allocations: 9.359 MB / 0.6026 GB, free: 7.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5202, allocations: 8.031 kB / 0.6026 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004277/0.5245, allocations: 1.424 MB / 0.604 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03103/0.5555, allocations: 6.019 MB / 0.6098 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01713/0.5727, allocations: 6.973 MB / 0.6166 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/0.5733, allocations: 436.8 kB / 0.6171 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/0.576, allocations: 0.6018 MB / 0.6176 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04192/0.6179, allocations: 20.56 MB / 0.6377 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/0.6182, allocations: 79.41 kB / 0.6378 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008795/0.6191, allocations: 274.1 kB / 0.6381 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006006/0.6251, allocations: 3.712 MB / 0.6417 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03874/0.6638, allocations: 18.08 MB / 0.6593 GB, free: 12.33 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1086/0.7724, allocations: 74.2 MB / 0.7318 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/0.7902, allocations: 6.218 MB / 0.7379 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006057/0.7962, allocations: 3.741 MB / 0.7415 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03669/0.8329, allocations: 15.38 MB / 0.7565 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.833, allocations: 56.56 kB / 0.7566 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=332): time 7.193e-06/0.833, allocations: 4 kB / 0.7566 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=413): time 0.5698/1.403, allocations: 34.76 MB / 0.7905 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/1.403, allocations: 199.5 kB / 0.7907 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.415, allocations: 6.555 MB / 0.7971 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/1.417, allocations: 89.3 kB / 0.7972 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003622/1.42, allocations: 5.657 MB / 0.8027 GB, free: 176 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/1.423, allocations: 1.584 MB / 0.8043 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003299/1.426, allocations: 2.089 MB / 0.8063 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/1.426, allocations: 301.1 kB / 0.8066 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/1.432, allocations: 4.172 MB / 0.8107 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008758/1.441, allocations: 10.07 MB / 0.8205 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.455, allocations: 15.36 MB / 0.8355 GB, free: 149.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001758/1.455, allocations: 60 kB / 0.8356 GB, free: 149.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.02924/1.485, allocations: 15.94 MB / 0.8511 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.485, allocations: 92 kB / 0.8512 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/1.485, allocations: 208 kB / 0.8514 GB, free: 133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/1.492, allocations: 2.301 MB / 0.8537 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007884/1.5, allocations: 2.402 MB / 0.856 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/1.517, allocations: 12.42 MB / 0.8681 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/1.528, allocations: 0.5697 MB / 0.8687 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.53, allocations: 0.5938 MB / 0.8693 GB, free: 114.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1276): * Single equations (assignments): 1269 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006725/1.537, allocations: 3.763 MB / 0.873 GB, free: 110.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.538, allocations: 0.6314 MB / 0.8736 GB, free: 110.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.553, allocations: 8.142 MB / 0.8815 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/1.553, allocations: 56 kB / 0.8816 GB, free: 102 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.553, allocations: 19.98 kB / 0.8816 GB, free: 102 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/1.553, allocations: 15.94 kB / 0.8816 GB, free: 102 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04134/1.594, allocations: 18.5 MB / 0.8997 GB, free: 83.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.415e-05/1.594, allocations: 16.03 kB / 0.8997 GB, free: 83.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/1.597, allocations: 0.6085 MB / 0.9003 GB, free: 82.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/1.604, allocations: 1.758 MB / 0.902 GB, free: 80.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007524/1.604, allocations: 75.98 kB / 0.9021 GB, free: 80.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.619, allocations: 10.48 MB / 0.9123 GB, free: 70.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.619, allocations: 19.94 kB / 0.9123 GB, free: 70.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/1.638, allocations: 12.16 MB / 0.9242 GB, free: 57.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005006/1.643, allocations: 1.101 MB / 0.9253 GB, free: 56.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/1.645, allocations: 76.06 kB / 0.9254 GB, free: 56.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004078/1.65, allocations: 195.8 kB / 0.9255 GB, free: 56.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007845/1.65, allocations: 277.4 kB / 0.9258 GB, free: 56.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/1.651, allocations: 111.7 kB / 0.9259 GB, free: 55.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006629/1.657, allocations: 4.086 MB / 0.9299 GB, free: 51.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.657, allocations: 0 / 0.9299 GB, free: 51.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01091/1.668, allocations: 1.906 MB / 0.9318 GB, free: 49.97 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * 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 (325): * Single equations (assignments): 318 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 Backend phase and start with SimCode phase: time 0.02065/1.689, allocations: 12.94 MB / 0.9444 GB, free: 36.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.703, allocations: 9.398 MB / 0.9536 GB, free: 27.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/1.703, allocations: 7.562 kB / 0.9536 GB, free: 27.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/1.708, allocations: 3.051 MB / 0.9566 GB, free: 24.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006625/1.715, allocations: 0.8118 MB / 0.9574 GB, free: 23.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3876/2.102, allocations: 88.13 MB / 1.043 GB, free: 163.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006531/2.109, allocations: 5.592 MB / 1.049 GB, free: 161.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007126/2.116, allocations: 3.316 MB / 1.052 GB, free: 160.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005221/2.121, allocations: 3.693 MB / 1.056 GB, free: 157.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/2.121, allocations: 0 / 1.056 GB, free: 157.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/2.301, allocations: 133.8 MB / 1.186 GB, free: 24.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.02/40.32, allocations: 11.94 kB / 1.186 GB, free: 24.55 MB / 0.6075 GB " [Timeout remaining time 619] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 43.53339239900379] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 40.51436203400226 40.523393062 40.025725516 Calling exit ...