Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001307/0.001307, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001434/0.001434, allocations: 209.6 kB / 20.75 MB, free: 2.27 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.47/1.47, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2284/0.2284, allocations: 44.91 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001961/0.001961, allocations: 67.91 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 65.42 MB / 0.5517 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01965/0.1432, allocations: 17.72 MB / 0.5691 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1563, allocations: 5.714 MB / 0.5746 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.1597, allocations: 127.4 kB / 0.5748 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009028/0.1687, allocations: 4.637 MB / 0.5793 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007821/0.1765, allocations: 3.062 MB / 0.5823 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.1803, allocations: 1.494 MB / 0.5837 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01296/0.1932, allocations: 8.953 MB / 0.5925 GB, free: 308 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3225/0.5158, allocations: 5.466 MB / 0.5978 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008382/0.5241, allocations: 3.056 MB / 0.6008 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.5354, allocations: 4.618 MB / 0.6053 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004368/0.5397, allocations: 0.6624 MB / 0.606 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007441/0.5472, allocations: 1.879 MB / 0.6078 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007038/0.5542, allocations: 3.796 MB / 0.6115 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008918/0.5631, allocations: 4.227 MB / 0.6156 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.5811, allocations: 13.65 MB / 0.629 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5811, allocations: 0 / 0.629 GB, free: 12.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5811, allocations: 4 kB / 0.629 GB, free: 12.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005721/0.5817, allocations: 0 / 0.629 GB, free: 12.78 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02708/0.6088, allocations: 9.341 MB / 0.6381 GB, free: 6.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.6088, allocations: 10.69 kB / 0.6381 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005906/0.6147, allocations: 1.424 MB / 0.6395 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03371/0.6484, allocations: 6.007 MB / 0.6453 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.662, allocations: 6.021 MB / 0.6512 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.6624, allocations: 441 kB / 0.6516 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.6644, allocations: 0.6073 MB / 0.6522 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04237/0.7068, allocations: 20.55 MB / 0.6723 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/0.7071, allocations: 80.33 kB / 0.6724 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/0.7084, allocations: 274.9 kB / 0.6726 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00614/0.7145, allocations: 3.715 MB / 0.6763 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04086/0.7554, allocations: 18.07 MB / 0.6939 GB, free: 15.93 MB / 0.5137 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.1103/0.8657, allocations: 74.1 MB / 0.7663 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/0.885, allocations: 7.138 MB / 0.7733 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006198/0.8912, allocations: 3.749 MB / 0.7769 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03474/0.9259, allocations: 18.05 MB / 0.7945 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.926, allocations: 71.31 kB / 0.7946 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=332): time 5.37e-06/0.926, allocations: 0 / 0.7946 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=413): time 0.1209/1.047, allocations: 34.67 MB / 0.8285 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.047, allocations: 200.9 kB / 0.8287 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2947/1.342, allocations: 6.495 MB / 0.835 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009432/1.343, allocations: 81.27 kB / 0.8351 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004294/1.347, allocations: 5.635 MB / 0.8406 GB, free: 212 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002134/1.349, allocations: 1.592 MB / 0.8421 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003677/1.353, allocations: 2.077 MB / 0.8442 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/1.353, allocations: 305.7 kB / 0.8445 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008088/1.361, allocations: 4.176 MB / 0.8485 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01192/1.373, allocations: 10.07 MB / 0.8584 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/1.391, allocations: 15.38 MB / 0.8734 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002749/1.391, allocations: 58.19 kB / 0.8734 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03278/1.424, allocations: 15.95 MB / 0.889 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/1.424, allocations: 95.03 kB / 0.8891 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003238/1.424, allocations: 209.9 kB / 0.8893 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008036/1.432, allocations: 2.31 MB / 0.8916 GB, free: 180.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/1.44, allocations: 2.403 MB / 0.8939 GB, free: 179.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.457, allocations: 12.5 MB / 0.9061 GB, free: 168.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009298/1.466, allocations: 0.5822 MB / 0.9067 GB, free: 168.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/1.468, allocations: 0.5867 MB / 0.9073 GB, free: 167.6 MB / 0.6387 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.007122/1.475, allocations: 3.768 MB / 0.9109 GB, free: 164.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.476, allocations: 0.6247 MB / 0.9115 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/1.491, allocations: 8.133 MB / 0.9195 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.139e-05/1.492, allocations: 64.84 kB / 0.9195 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.492, allocations: 12 kB / 0.9196 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.555e-05/1.492, allocations: 19.92 kB / 0.9196 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03314/1.525, allocations: 18.51 MB / 0.9377 GB, free: 137.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.525, allocations: 12 kB / 0.9377 GB, free: 137.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.527, allocations: 0.6131 MB / 0.9383 GB, free: 137.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005938/1.533, allocations: 1.741 MB / 0.94 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004864/1.534, allocations: 75.98 kB / 0.94 GB, free: 135.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/1.547, allocations: 10.59 MB / 0.9504 GB, free: 124.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.547, allocations: 24 kB / 0.9504 GB, free: 124.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.566, allocations: 12.17 MB / 0.9623 GB, free: 112.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.568, allocations: 0.6529 MB / 0.9629 GB, free: 111.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001841/1.57, allocations: 75.98 kB / 0.963 GB, free: 111.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/1.573, allocations: 207 kB / 0.9632 GB, free: 111.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008454/1.574, allocations: 253.7 kB / 0.9634 GB, free: 111.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/1.574, allocations: 116 kB / 0.9635 GB, free: 111 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006615/1.581, allocations: 4.034 MB / 0.9675 GB, free: 107 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/1.581, allocations: 0 / 0.9675 GB, free: 107 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009692/1.591, allocations: 1.878 MB / 0.9693 GB, free: 105.1 MB / 0.6387 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.01898/1.61, allocations: 12.95 MB / 0.982 GB, free: 91.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.623, allocations: 9.41 MB / 0.9911 GB, free: 82.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/1.623, allocations: 4 kB / 0.9912 GB, free: 82.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004286/1.628, allocations: 3.042 MB / 0.9941 GB, free: 79.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/1.632, allocations: 0.8241 MB / 0.9949 GB, free: 78.63 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4445/2.077, allocations: 87.64 MB / 1.081 GB, free: 213.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01259/2.09, allocations: 5.578 MB / 1.086 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.009012/2.099, allocations: 3.308 MB / 1.089 GB, free: 213 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00563/2.104, allocations: 3.667 MB / 1.093 GB, free: 212 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/2.104, allocations: 3.594 kB / 1.093 GB, free: 212 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/2.287, allocations: 128.9 MB / 1.219 GB, free: 107 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.31/39.6, allocations: 8 kB / 1.219 GB, free: 107 MB / 0.6544 GB " [Timeout remaining time 620] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 42.876861384138465] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 39.76718379696831 39.779766958 39.195566266 Calling exit ...