Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009541/0.0009541, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009672/0.0009672, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9562/0.9562, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2963/0.2963, allocations: 34.24 MB / 294.9 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.605e-05, allocations: 4.25 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2186/0.2186, allocations: 15.31 MB / 457.5 MB, free: 35.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008277/0.2269, allocations: 5.463 MB / 462.9 MB, free: 31.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.2287, allocations: 131 kB / 463.1 MB, free: 31.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.2327, allocations: 4.688 MB / 467.8 MB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.2377, allocations: 3.168 MB / 470.9 MB, free: 28.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.2399, allocations: 1.67 MB / 472.6 MB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006525/0.2464, allocations: 10.33 MB / 482.9 MB, free: 24.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005457/0.2519, allocations: 6.241 MB / 489.2 MB, free: 21.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005345/0.2572, allocations: 4.679 MB / 493.8 MB, free: 19.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006167/0.2634, allocations: 4.877 MB / 498.7 MB, free: 18.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.2646, allocations: 0.6779 MB / 499.4 MB, free: 18.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.268, allocations: 1.845 MB / 0.4895 GB, free: 17.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002639/0.2706, allocations: 3.97 MB / 0.4934 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.2727, allocations: 2.521 MB / 0.4958 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008627/0.2814, allocations: 13.87 MB / 0.5094 GB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2814, allocations: 0 / 0.5094 GB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2814, allocations: 0 / 0.5094 GB, free: 1.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.2815, allocations: 0 / 0.5094 GB, free: 1.422 MB / 410.7 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.01169/0.2932, allocations: 9.421 MB / 0.5186 GB, free: 7.914 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2933, allocations: 8.031 kB / 0.5186 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001295/0.2946, allocations: 1.43 MB / 0.52 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.3107, allocations: 6.472 MB / 0.5263 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00748/0.3181, allocations: 5.294 MB / 0.5315 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.3184, allocations: 427 kB / 0.5319 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009919/0.3194, allocations: 0.6128 MB / 0.5325 GB, free: 9.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/0.3438, allocations: 20.68 MB / 0.5527 GB, free: 3.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.3439, allocations: 83.33 kB / 0.5528 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/0.3444, allocations: 275.7 kB / 0.553 GB, free: 3.379 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003433/0.3479, allocations: 3.714 MB / 0.5566 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/0.3735, allocations: 18.07 MB / 0.5743 GB, free: 13.58 MB / 490.7 MB 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.497/0.8705, allocations: 71.57 MB / 0.6442 GB, free: 98.41 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.8807, allocations: 6.481 MB / 0.6505 GB, free: 98.3 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.8842, allocations: 3.744 MB / 0.6542 GB, free: 97.63 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.9023, allocations: 14.95 MB / 0.6688 GB, free: 92.37 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.9023, allocations: 68.38 kB / 0.6688 GB, free: 92.31 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=332): time 7.224e-06/0.9023, allocations: 0 / 0.6688 GB, free: 92.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=413): time 0.06622/0.9685, allocations: 35.76 MB / 0.7038 GB, free: 82.33 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.9686, allocations: 196.8 kB / 0.7039 GB, free: 82.14 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/0.9746, allocations: 7.489 MB / 0.7113 GB, free: 79.61 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.9748, allocations: 92 kB / 0.7114 GB, free: 79.53 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.9765, allocations: 5.58 MB / 0.7168 GB, free: 75.36 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007512/0.9772, allocations: 1.572 MB / 0.7183 GB, free: 74.18 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.9788, allocations: 2.056 MB / 0.7203 GB, free: 72.64 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.9788, allocations: 305.1 kB / 0.7206 GB, free: 72.34 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/0.9822, allocations: 4.194 MB / 0.7247 GB, free: 68.77 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005489/0.9877, allocations: 10.12 MB / 0.7346 GB, free: 56.66 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.9982, allocations: 15.39 MB / 0.7496 GB, free: 38.99 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.803e-05/0.9983, allocations: 56 kB / 0.7497 GB, free: 38.94 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.01709/1.015, allocations: 15.98 MB / 0.7653 GB, free: 22.93 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/1.015, allocations: 96 kB / 0.7654 GB, free: 22.83 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/1.016, allocations: 208.1 kB / 0.7656 GB, free: 22.63 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/1.019, allocations: 2.309 MB / 0.7679 GB, free: 20.32 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/1.024, allocations: 2.417 MB / 0.7702 GB, free: 17.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/1.034, allocations: 12.27 MB / 0.7822 GB, free: 5.512 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006357/1.041, allocations: 0.7335 MB / 0.7829 GB, free: 4.777 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000749/1.041, allocations: 0.5936 MB / 0.7835 GB, free: 4.188 MB / 0.5262 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.004298/1.046, allocations: 3.75 MB / 0.7872 GB, free: 432 kB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/1.046, allocations: 0.6288 MB / 0.7878 GB, free: 15.79 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.057, allocations: 8.138 MB / 0.7957 GB, free: 7.605 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/1.057, allocations: 66.33 kB / 0.7958 GB, free: 7.543 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.057, allocations: 12 kB / 0.7958 GB, free: 7.531 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.057, allocations: 19.94 kB / 0.7958 GB, free: 7.512 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/1.08, allocations: 17.52 MB / 0.8129 GB, free: 5.789 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/1.08, allocations: 12.88 kB / 0.8129 GB, free: 5.777 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.081, allocations: 0.617 MB / 0.8135 GB, free: 5.16 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/1.085, allocations: 1.747 MB / 0.8152 GB, free: 3.41 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/1.085, allocations: 81.88 kB / 0.8153 GB, free: 3.332 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.096, allocations: 10.39 MB / 0.8255 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/1.096, allocations: 19.88 kB / 0.8255 GB, free: 8.82 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.11, allocations: 12.16 MB / 0.8374 GB, free: 12.4 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/1.112, allocations: 0.6635 MB / 0.838 GB, free: 11.73 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/1.113, allocations: 72 kB / 0.8381 GB, free: 11.66 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.115, allocations: 309.6 kB / 0.8384 GB, free: 11.36 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004324/1.115, allocations: 269.5 kB / 0.8386 GB, free: 11.09 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.115, allocations: 108 kB / 0.8387 GB, free: 10.99 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.004584/1.12, allocations: 4.545 MB / 0.8432 GB, free: 6.453 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 0 / 0.8432 GB, free: 6.453 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.006126/1.126, allocations: 2.103 MB / 0.8452 GB, free: 4.352 MB / 0.5887 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.01352/1.139, allocations: 12.94 MB / 0.8579 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.2121/1.352, allocations: 9.425 MB / 0.8671 GB, free: 209.8 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/1.352, allocations: 0 / 0.8671 GB, free: 209.8 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003208/1.355, allocations: 3.041 MB / 0.87 GB, free: 209.6 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.358, allocations: 0.8178 MB / 0.8708 GB, free: 209.5 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0986/1.457, allocations: 89.75 MB / 0.9585 GB, free: 152 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/1.461, allocations: 5.107 MB / 0.9635 GB, free: 148.2 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.004836/1.466, allocations: 3.34 MB / 0.9667 GB, free: 146.1 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002758/1.469, allocations: 3.697 MB / 0.9703 GB, free: 142.6 MB / 0.6043 GB Notification: Performance of SimCode: time 1.853e-06/1.469, allocations: 0 / 0.9703 GB, free: 142.6 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3248/1.794, allocations: 132.7 MB / 1.1 GB, free: 189.3 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.77, allocations: 6.062 kB / 1.1 GB, free: 189.3 MB / 0.6043 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.149955020286143] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 14.924155822955072 14.93367652 14.650605575 Calling exit ...