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.0008292/0.0008292, allocations: 75.7 kB / 20.02 MB, free: 4.504 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.0008736/0.0008736, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 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 0.9506/0.9506, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] 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.1408/0.1408, allocations: 32.37 MB / 269.7 MB, free: 14.92 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 407 MB, free: 2.141 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.581e-05, allocations: 2.281 kB / 407 MB, free: 2.137 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01225/0.01227, allocations: 15.48 MB / 422.5 MB, free: 2.582 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.02257, allocations: 5.419 MB / 427.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.02472, allocations: 127.4 kB / 428.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.02911, allocations: 4.714 MB / 432.8 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.03434, allocations: 3.223 MB / 436 MB, free: 5.055 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.03685, allocations: 1.673 MB / 437.7 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.047, allocations: 9.877 MB / 447.6 MB, free: 9.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006809/0.05381, allocations: 6.26 MB / 453.8 MB, free: 3.145 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007124/0.06094, allocations: 4.721 MB / 458.5 MB, free: 14.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004699/0.06563, allocations: 4.907 MB / 463.4 MB, free: 9.496 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009324/0.06657, allocations: 0.6797 MB / 464.1 MB, free: 8.816 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.06878, allocations: 1.834 MB / 466 MB, free: 6.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.07115, allocations: 4.052 MB / 470 MB, free: 2.914 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002048/0.07319, allocations: 2.559 MB / 472.6 MB, free: 356 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2098/0.283, allocations: 14 MB / 486.6 MB, free: 62.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.283, allocations: 3.438 kB / 486.6 MB, free: 62.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.283, allocations: 0 / 486.6 MB, free: 62.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.2831, allocations: 3.125 kB / 486.6 MB, free: 62.12 MB / 442.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.01036/0.2934, allocations: 9.516 MB / 496.1 MB, free: 58.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2935, allocations: 10.89 kB / 496.1 MB, free: 58.69 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001533/0.295, allocations: 1.421 MB / 497.5 MB, free: 58.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.3108, allocations: 6.479 MB / 0.4922 GB, free: 57.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.3206, allocations: 5.987 MB / 0.498 GB, free: 55.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.3209, allocations: 435.2 kB / 0.4984 GB, free: 55.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.3219, allocations: 0.6095 MB / 0.499 GB, free: 55.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.3448, allocations: 20.67 MB / 0.5192 GB, free: 46.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.3449, allocations: 78.11 kB / 0.5193 GB, free: 46.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005409/0.3454, allocations: 273.9 kB / 0.5196 GB, free: 46.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/0.3482, allocations: 3.714 MB / 0.5232 GB, free: 45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.3684, allocations: 18.07 MB / 0.5408 GB, free: 30.99 MB / 442.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.05966/0.428, allocations: 71.96 MB / 0.6111 GB, free: 6.238 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.4381, allocations: 6.488 MB / 0.6174 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/0.4418, allocations: 3.748 MB / 0.6211 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/0.4605, allocations: 15.04 MB / 0.6358 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.4605, allocations: 64.5 kB / 0.6359 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=332): time 5.04e-06/0.4605, allocations: 4 kB / 0.6359 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=413): time 0.2664/0.727, allocations: 36.53 MB / 0.6715 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.727, allocations: 199.2 kB / 0.6717 GB, free: 178.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007994/0.735, allocations: 7.687 MB / 0.6792 GB, free: 176.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005363/0.7355, allocations: 82.11 kB / 0.6793 GB, free: 176.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.7382, allocations: 5.608 MB / 0.6848 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.7393, allocations: 1.568 MB / 0.6863 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/0.7417, allocations: 2.052 MB / 0.6883 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.956e-05/0.7417, allocations: 303.3 kB / 0.6886 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/0.7458, allocations: 4.199 MB / 0.6927 GB, free: 168.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006076/0.7519, allocations: 10.1 MB / 0.7026 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.7626, allocations: 15.39 MB / 0.7176 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.651e-05/0.7626, allocations: 59.06 kB / 0.7177 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.01762/0.7803, allocations: 15.98 MB / 0.7333 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/0.7803, allocations: 92.94 kB / 0.7334 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.7804, allocations: 208 kB / 0.7335 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003598/0.784, allocations: 2.306 MB / 0.7358 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/0.7878, allocations: 2.421 MB / 0.7382 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.7981, allocations: 12.27 MB / 0.7501 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/0.8039, allocations: 0.754 MB / 0.7509 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005844/0.8045, allocations: 0.5878 MB / 0.7515 GB, free: 118.9 MB / 0.5261 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.004237/0.8087, allocations: 3.769 MB / 0.7551 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/0.8096, allocations: 0.6286 MB / 0.7558 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008607/0.8182, allocations: 8.148 MB / 0.7637 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/0.8183, allocations: 66.89 kB / 0.7638 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.8183, allocations: 8 kB / 0.7638 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8183, allocations: 19.94 kB / 0.7638 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/0.8379, allocations: 17.61 MB / 0.781 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.8379, allocations: 12 kB / 0.781 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.8393, allocations: 0.6084 MB / 0.7816 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003174/0.8424, allocations: 1.748 MB / 0.7833 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.8426, allocations: 78.03 kB / 0.7834 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008651/0.8513, allocations: 10.37 MB / 0.7935 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8513, allocations: 16 kB / 0.7935 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/0.8624, allocations: 12.15 MB / 0.8054 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/0.8646, allocations: 1.206 MB / 0.8066 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.8651, allocations: 75.75 kB / 0.8066 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.8667, allocations: 322.5 kB / 0.8069 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.8671, allocations: 273.4 kB / 0.8072 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.8672, allocations: 116 kB / 0.8073 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004164/0.8714, allocations: 4.691 MB / 0.8119 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.8714, allocations: 0 / 0.8119 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005947/0.8773, allocations: 2.156 MB / 0.814 GB, free: 54.32 MB / 0.5261 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.0112/0.8885, allocations: 12.93 MB / 0.8266 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.8988, allocations: 9.425 MB / 0.8358 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.8988, allocations: 4 kB / 0.8358 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.9017, allocations: 3.039 MB / 0.8388 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.9056, allocations: 0.8202 MB / 0.8396 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2749/1.181, allocations: 90.6 MB / 0.9281 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004333/1.185, allocations: 5.126 MB / 0.9331 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005081/1.19, allocations: 3.35 MB / 0.9364 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003248/1.193, allocations: 3.718 MB / 0.94 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.734e-06/1.193, allocations: 0 / 0.94 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3402/1.533, allocations: 134.6 MB / 1.071 GB, free: 172 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.96, allocations: 3.609 kB / 1.071 GB, free: 172 MB / 0.5417 GB " [Timeout remaining time 645] (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: 17.35799189656973] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 15.109596568159759 15.118922978 14.834017424 Calling exit ...