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.001794/0.001794, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002054/0.002054, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2365/0.2365, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.00187/0.00187, allocations: 63.89 kB / 0.4909 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1369, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02135/0.1583, allocations: 17.72 MB / 0.5727 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.1734, allocations: 5.714 MB / 0.5783 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004483/0.1779, allocations: 127.4 kB / 0.5784 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009347/0.1872, allocations: 4.637 MB / 0.5829 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008086/0.1953, allocations: 3.054 MB / 0.5859 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.199, allocations: 1.509 MB / 0.5874 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3377/0.5367, allocations: 8.929 MB / 0.5961 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.5468, allocations: 5.472 MB / 0.6014 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008851/0.5557, allocations: 3.061 MB / 0.6044 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.5662, allocations: 4.615 MB / 0.6089 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004051/0.5703, allocations: 0.6619 MB / 0.6096 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008245/0.5785, allocations: 1.879 MB / 0.6114 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007494/0.586, allocations: 3.797 MB / 0.6151 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.5961, allocations: 4.224 MB / 0.6192 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.025/0.6211, allocations: 13.69 MB / 0.6326 GB, free: 9.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.6211, allocations: 3.984 kB / 0.6326 GB, free: 9.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6211, allocations: 7.25 kB / 0.6326 GB, free: 9.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006599/0.6218, allocations: 0 / 0.6326 GB, free: 9.973 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.02772/0.6495, allocations: 9.334 MB / 0.6417 GB, free: 3.781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.6495, allocations: 12.03 kB / 0.6417 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004366/0.6539, allocations: 1.421 MB / 0.6431 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03356/0.6875, allocations: 6.013 MB / 0.649 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/0.7018, allocations: 6.017 MB / 0.6549 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.7023, allocations: 440.9 kB / 0.6553 GB, free: 6.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/0.7057, allocations: 0.6062 MB / 0.6559 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04651/0.7522, allocations: 20.56 MB / 0.676 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004343/0.7526, allocations: 78.31 kB / 0.676 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002403/0.755, allocations: 267.7 kB / 0.6763 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006546/0.7616, allocations: 3.712 MB / 0.6799 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04295/0.8045, allocations: 18.07 MB / 0.6976 GB, free: 10.69 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.1181/0.9226, allocations: 74.11 MB / 0.7699 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.942, allocations: 7.133 MB / 0.7769 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/0.9484, allocations: 3.752 MB / 0.7806 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03532/0.9837, allocations: 18.05 MB / 0.7982 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/0.9838, allocations: 64.56 kB / 0.7983 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=332): time 6.072e-06/0.9838, allocations: 0 / 0.7983 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=413): time 0.4391/1.423, allocations: 34.66 MB / 0.8321 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.423, allocations: 197.9 kB / 0.8323 GB, free: 210 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01494/1.438, allocations: 6.49 MB / 0.8386 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008741/1.439, allocations: 82.33 kB / 0.8387 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004744/1.444, allocations: 5.645 MB / 0.8442 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002146/1.446, allocations: 1.591 MB / 0.8458 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005264/1.451, allocations: 2.08 MB / 0.8478 GB, free: 203.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.27e-05/1.451, allocations: 309.1 kB / 0.8481 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008761/1.46, allocations: 4.177 MB / 0.8522 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/1.474, allocations: 10.07 MB / 0.862 GB, free: 192.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01857/1.493, allocations: 15.37 MB / 0.877 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003763/1.493, allocations: 57.69 kB / 0.8771 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03356/1.527, allocations: 15.95 MB / 0.8927 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.527, allocations: 95.19 kB / 0.8928 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002573/1.527, allocations: 204.5 kB / 0.893 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007337/1.535, allocations: 2.311 MB / 0.8952 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008023/1.543, allocations: 2.406 MB / 0.8976 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/1.56, allocations: 12.5 MB / 0.9098 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008858/1.569, allocations: 0.5815 MB / 0.9103 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/1.57, allocations: 0.5908 MB / 0.9109 GB, free: 161.8 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.006314/1.577, allocations: 3.759 MB / 0.9146 GB, free: 158 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.578, allocations: 0.6286 MB / 0.9152 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.593, allocations: 8.142 MB / 0.9231 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/1.593, allocations: 60 kB / 0.9232 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/1.593, allocations: 12 kB / 0.9232 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/1.593, allocations: 19.92 kB / 0.9232 GB, free: 149.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03258/1.626, allocations: 18.5 MB / 0.9413 GB, free: 130.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/1.626, allocations: 12.47 kB / 0.9413 GB, free: 130.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/1.629, allocations: 0.613 MB / 0.9419 GB, free: 129.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006045/1.635, allocations: 1.745 MB / 0.9436 GB, free: 128 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006644/1.635, allocations: 81.33 kB / 0.9437 GB, free: 127.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/1.649, allocations: 10.58 MB / 0.954 GB, free: 117.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/1.649, allocations: 31.88 kB / 0.9541 GB, free: 117.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.667, allocations: 12.17 MB / 0.9659 GB, free: 104.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.669, allocations: 0.6491 MB / 0.9666 GB, free: 104 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001448/1.67, allocations: 77 kB / 0.9666 GB, free: 104 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.673, allocations: 206.3 kB / 0.9668 GB, free: 103.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006505/1.674, allocations: 253.7 kB / 0.9671 GB, free: 103.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.674, allocations: 119.5 kB / 0.9672 GB, free: 103.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007009/1.681, allocations: 4.03 MB / 0.9711 GB, free: 99.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.681, allocations: 0 / 0.9711 GB, free: 99.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009881/1.691, allocations: 1.872 MB / 0.973 GB, free: 97.5 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.01968/1.71, allocations: 12.97 MB / 0.9856 GB, free: 84.26 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01483/1.725, allocations: 9.404 MB / 0.9948 GB, free: 74.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.725, allocations: 6 kB / 0.9948 GB, free: 74.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004726/1.73, allocations: 3.048 MB / 0.9978 GB, free: 71.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/1.735, allocations: 0.815 MB / 0.9986 GB, free: 71.01 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4487/2.184, allocations: 87.64 MB / 1.084 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/2.196, allocations: 5.575 MB / 1.09 GB, free: 210.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0094/2.206, allocations: 3.313 MB / 1.093 GB, free: 210.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006527/2.212, allocations: 3.666 MB / 1.096 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.773e-06/2.212, allocations: 0 / 1.096 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/2.403, allocations: 128.9 MB / 1.222 GB, free: 100.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.79/43.19, allocations: 7.078 kB / 1.222 GB, free: 100.7 MB / 0.6544 GB " [Timeout remaining time 617] (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: 46.64886818098603] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 43.37020104499243 43.380919538 42.757052896 Calling exit ...