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.001834/0.001834, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002782/0.002782, allocations: 213 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2542/0.2542, allocations: 46.96 MB / 360.9 MB, free: 4.016 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+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 0.002111/0.002111, allocations: 63.89 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3721, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01992/0.392, allocations: 15.32 MB / 0.5756 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.4048, allocations: 5.45 MB / 0.5809 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.4082, allocations: 127.4 kB / 0.581 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009546/0.4178, allocations: 4.47 MB / 0.5854 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.4263, allocations: 3.086 MB / 0.5884 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.4303, allocations: 1.494 MB / 0.5898 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01499/0.4453, allocations: 8.951 MB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009/0.4543, allocations: 5.214 MB / 0.6037 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006713/0.461, allocations: 3.061 MB / 0.6067 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008381/0.4694, allocations: 4.365 MB / 0.6109 GB, free: 456 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002547/0.4719, allocations: 0.6641 MB / 0.6116 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005412/0.4773, allocations: 1.728 MB / 0.6133 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005905/0.4832, allocations: 3.802 MB / 0.617 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00833/0.4915, allocations: 3.157 MB / 0.6201 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01974/0.5113, allocations: 13.72 MB / 0.6335 GB, free: 9.277 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5113, allocations: 0 / 0.6335 GB, free: 9.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5113, allocations: 0 / 0.6335 GB, free: 9.277 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004962/0.5118, allocations: 4 kB / 0.6335 GB, free: 9.273 MB / 478.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.02994/0.5417, allocations: 9.256 MB / 0.6425 GB, free: 15.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5418, allocations: 12.03 kB / 0.6425 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004174/0.5459, allocations: 1.419 MB / 0.6439 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03139/0.5773, allocations: 6.01 MB / 0.6498 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.5934, allocations: 5.955 MB / 0.6556 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/0.594, allocations: 434.9 kB / 0.656 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/0.597, allocations: 0.6127 MB / 0.6566 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04264/0.6396, allocations: 20.64 MB / 0.6768 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003447/0.64, allocations: 79.39 kB / 0.6768 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002058/0.642, allocations: 267.7 kB / 0.6771 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00703/0.6491, allocations: 3.718 MB / 0.6807 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05908/0.7082, allocations: 18.06 MB / 0.6983 GB, free: 5.449 MB / 0.5294 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.6984/1.407, allocations: 70.56 MB / 0.7673 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/1.422, allocations: 6.229 MB / 0.7733 GB, free: 104 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/1.427, allocations: 3.744 MB / 0.777 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02962/1.456, allocations: 14.57 MB / 0.7912 GB, free: 93.57 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/1.456, allocations: 71.97 kB / 0.7913 GB, free: 93.49 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 7.554e-06/1.456, allocations: 0 / 0.7913 GB, free: 93.49 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1105/1.567, allocations: 34.29 MB / 0.8248 GB, free: 59.84 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/1.567, allocations: 196.8 kB / 0.825 GB, free: 59.61 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.579, allocations: 6.845 MB / 0.8317 GB, free: 53.02 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009641/1.58, allocations: 81.7 kB / 0.8317 GB, free: 52.94 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004699/1.585, allocations: 5.64 MB / 0.8372 GB, free: 47.52 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/1.587, allocations: 1.593 MB / 0.8388 GB, free: 45.95 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006703/1.594, allocations: 2.082 MB / 0.8408 GB, free: 43.86 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/1.594, allocations: 301.1 kB / 0.8411 GB, free: 43.56 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006752/1.601, allocations: 4.182 MB / 0.8452 GB, free: 39.38 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00961/1.61, allocations: 10.1 MB / 0.8551 GB, free: 26.48 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/1.626, allocations: 15.37 MB / 0.8701 GB, free: 8.203 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002663/1.626, allocations: 56 kB / 0.8701 GB, free: 8.148 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03583/1.662, allocations: 15.94 MB / 0.8857 GB, free: 8.18 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/1.662, allocations: 100.1 kB / 0.8858 GB, free: 8.082 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004805/1.663, allocations: 215.9 kB / 0.886 GB, free: 7.871 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00855/1.671, allocations: 2.299 MB / 0.8882 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009241/1.681, allocations: 2.398 MB / 0.8906 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/1.704, allocations: 12.25 MB / 0.9025 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007958/1.712, allocations: 0.58 MB / 0.9031 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.714, allocations: 0.5899 MB / 0.9037 GB, free: 5.633 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.008376/1.723, allocations: 3.756 MB / 0.9073 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.724, allocations: 0.6247 MB / 0.908 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/1.745, allocations: 8.131 MB / 0.9159 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001229/1.745, allocations: 67.92 kB / 0.916 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/1.745, allocations: 8 kB / 0.916 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.154e-05/1.745, allocations: 23.92 kB / 0.916 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04905/1.794, allocations: 17.34 MB / 0.9329 GB, free: 7.383 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.674e-05/1.794, allocations: 16 kB / 0.9329 GB, free: 7.367 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/1.798, allocations: 0.6169 MB / 0.9335 GB, free: 6.75 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007369/1.805, allocations: 1.746 MB / 0.9352 GB, free: 5 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009419/1.806, allocations: 79.98 kB / 0.9353 GB, free: 4.922 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/1.826, allocations: 10.35 MB / 0.9454 GB, free: 10.45 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/1.826, allocations: 19.88 kB / 0.9455 GB, free: 10.43 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/1.85, allocations: 12.17 MB / 0.9573 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.852, allocations: 0.5738 MB / 0.9579 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001735/1.854, allocations: 75.98 kB / 0.958 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.858, allocations: 203.7 kB / 0.9582 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009324/1.859, allocations: 269.5 kB / 0.9584 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004667/1.859, allocations: 115.9 kB / 0.9585 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008945/1.868, allocations: 4.034 MB / 0.9625 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/1.868, allocations: 0 / 0.9625 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01081/1.879, allocations: 1.875 MB / 0.9643 GB, free: 6.859 MB / 0.6544 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.02861/1.908, allocations: 12.95 MB / 0.977 GB, free: 9.629 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01926/1.927, allocations: 9.407 MB / 0.9861 GB, free: 244 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.25e-05/1.927, allocations: 4 kB / 0.9861 GB, free: 240 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2902/2.217, allocations: 3.048 MB / 0.9891 GB, free: 250.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005989/2.223, allocations: 0.8 MB / 0.9899 GB, free: 250.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1258/2.349, allocations: 87.8 MB / 1.076 GB, free: 167 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008899/2.358, allocations: 5.108 MB / 1.081 GB, free: 161.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007616/2.365, allocations: 3.31 MB / 1.084 GB, free: 158.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005872/2.371, allocations: 3.663 MB / 1.087 GB, free: 155 MB / 0.67 GB Notification: Performance of SimCode: time 1.764e-06/2.371, allocations: 0 / 1.087 GB, free: 155 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/2.563, allocations: 129.4 MB / 1.214 GB, free: 26.67 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.6/25.16, allocations: 11.09 kB / 1.214 GB, free: 26.66 MB / 0.67 GB " [Timeout remaining time 635] (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: 28.592062783893198] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 25.356434346176684 25.366715267 24.852639652 Calling exit ...