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.001819/0.001819, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002454/0.002454, allocations: 210.6 kB / 23.73 MB, free: 4.523 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2419/0.2419, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.002021/0.002021, allocations: 75.88 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01892/0.3581, allocations: 15.32 MB / 0.5755 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.371, allocations: 5.446 MB / 0.5809 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.3739, allocations: 131.4 kB / 0.581 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009218/0.3831, allocations: 4.47 MB / 0.5854 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.3943, allocations: 3.082 MB / 0.5884 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.3984, allocations: 1.505 MB / 0.5898 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.4109, allocations: 8.954 MB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007977/0.4189, allocations: 5.241 MB / 0.6037 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006089/0.425, allocations: 3.065 MB / 0.6067 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008603/0.4336, allocations: 4.607 MB / 0.6112 GB, free: 176 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.4362, allocations: 0.664 MB / 0.6118 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.4411, allocations: 1.752 MB / 0.6135 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005459/0.4465, allocations: 3.802 MB / 0.6173 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007511/0.454, allocations: 3.153 MB / 0.6203 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.4739, allocations: 13.72 MB / 0.6337 GB, free: 8.988 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4739, allocations: 0 / 0.6337 GB, free: 8.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4739, allocations: 0 / 0.6337 GB, free: 8.988 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005385/0.4744, allocations: 3.938 kB / 0.6337 GB, free: 8.984 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.03075/0.5052, allocations: 9.264 MB / 0.6428 GB, free: 15.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.604e-05/0.5053, allocations: 12.02 kB / 0.6428 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006068/0.5113, allocations: 1.419 MB / 0.6442 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03339/0.5447, allocations: 6.01 MB / 0.6501 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/0.5611, allocations: 5.962 MB / 0.6559 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/0.5617, allocations: 431 kB / 0.6563 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003195/0.5649, allocations: 0.6049 MB / 0.6569 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0494/0.6143, allocations: 20.64 MB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003418/0.6146, allocations: 83.39 kB / 0.6771 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002043/0.6167, allocations: 275.7 kB / 0.6774 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006536/0.6232, allocations: 3.71 MB / 0.681 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04164/0.6649, allocations: 18.05 MB / 0.6986 GB, free: 5.16 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.6604/1.325, allocations: 70.58 MB / 0.7675 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/1.34, allocations: 6.229 MB / 0.7736 GB, free: 104 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00428/1.345, allocations: 3.743 MB / 0.7773 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0255/1.37, allocations: 14.58 MB / 0.7915 GB, free: 93.54 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.37, allocations: 68.28 kB / 0.7916 GB, free: 93.46 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 7.444e-06/1.37, allocations: 0 / 0.7916 GB, free: 93.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1018/1.472, allocations: 34.28 MB / 0.8251 GB, free: 59.82 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/1.472, allocations: 204.3 kB / 0.8253 GB, free: 59.59 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00875/1.481, allocations: 6.846 MB / 0.8319 GB, free: 52.99 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008725/1.482, allocations: 85.14 kB / 0.832 GB, free: 52.91 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00307/1.485, allocations: 5.632 MB / 0.8375 GB, free: 47.49 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.487, allocations: 1.597 MB / 0.8391 GB, free: 45.91 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002851/1.49, allocations: 2.077 MB / 0.8411 GB, free: 43.83 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.274e-05/1.49, allocations: 305.1 kB / 0.8414 GB, free: 43.53 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/1.495, allocations: 4.175 MB / 0.8455 GB, free: 39.35 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007928/1.503, allocations: 10.11 MB / 0.8554 GB, free: 26.44 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.517, allocations: 15.36 MB / 0.8704 GB, free: 8.168 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/1.517, allocations: 58.44 kB / 0.8704 GB, free: 8.113 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03298/1.55, allocations: 15.95 MB / 0.886 GB, free: 8.141 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.55, allocations: 96 kB / 0.8861 GB, free: 8.047 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003181/1.551, allocations: 204 kB / 0.8863 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007945/1.559, allocations: 2.307 MB / 0.8885 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/1.567, allocations: 2.402 MB / 0.8909 GB, free: 3.133 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/1.588, allocations: 12.24 MB / 0.9028 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008905/1.597, allocations: 0.5775 MB / 0.9034 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.599, allocations: 0.5936 MB / 0.904 GB, free: 5.605 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.008257/1.607, allocations: 3.754 MB / 0.9076 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/1.609, allocations: 0.6247 MB / 0.9082 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/1.627, allocations: 8.139 MB / 0.9162 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/1.627, allocations: 60 kB / 0.9162 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/1.627, allocations: 8 kB / 0.9163 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.397e-05/1.627, allocations: 23.92 kB / 0.9163 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04312/1.671, allocations: 17.34 MB / 0.9332 GB, free: 7.375 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/1.671, allocations: 12 kB / 0.9332 GB, free: 7.363 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/1.674, allocations: 0.6201 MB / 0.9338 GB, free: 6.742 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006423/1.68, allocations: 1.746 MB / 0.9355 GB, free: 4.992 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006227/1.681, allocations: 87.89 kB / 0.9356 GB, free: 4.906 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/1.698, allocations: 10.34 MB / 0.9457 GB, free: 10.44 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/1.698, allocations: 23.94 kB / 0.9457 GB, free: 10.42 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02446/1.723, allocations: 12.18 MB / 0.9576 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.725, allocations: 0.5699 MB / 0.9582 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002452/1.728, allocations: 80.45 kB / 0.9583 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/1.732, allocations: 195.8 kB / 0.9585 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/1.733, allocations: 281.5 kB / 0.9587 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000321/1.733, allocations: 120 kB / 0.9588 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008148/1.741, allocations: 4.026 MB / 0.9628 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/1.741, allocations: 3.938 kB / 0.9628 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01197/1.753, allocations: 1.875 MB / 0.9646 GB, free: 6.84 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.02453/1.778, allocations: 12.94 MB / 0.9772 GB, free: 9.617 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01805/1.796, allocations: 9.4 MB / 0.9864 GB, free: 236 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-05/1.796, allocations: 8.188 kB / 0.9864 GB, free: 228 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2991/2.095, allocations: 3.042 MB / 0.9894 GB, free: 250 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00565/2.101, allocations: 0.8129 MB / 0.9902 GB, free: 250 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/2.229, allocations: 87.8 MB / 1.076 GB, free: 166.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005725/2.234, allocations: 5.113 MB / 1.081 GB, free: 161.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007749/2.242, allocations: 3.313 MB / 1.084 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00621/2.248, allocations: 3.666 MB / 1.088 GB, free: 154.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.473e-06/2.248, allocations: 2.297 kB / 1.088 GB, free: 154.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/2.449, allocations: 129.4 MB / 1.214 GB, free: 26.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.11/24.56, allocations: 11.91 kB / 1.214 GB, free: 26.45 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: 27.84046472099726] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 24.750765516015235 24.768705125 24.291266754 Calling exit ...