Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 115 kB / 20.48 MB, free: 1.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 213.5 kB / 23.78 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3317, allocations: 66.08 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02031/0.352, allocations: 15.32 MB / 0.5757 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.3676, allocations: 5.454 MB / 0.581 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.3719, allocations: 127.4 kB / 0.5811 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.382, allocations: 4.462 MB / 0.5855 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.392, allocations: 3.082 MB / 0.5885 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.3964, allocations: 1.505 MB / 0.59 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.4099, allocations: 8.938 MB / 0.5987 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008336/0.4182, allocations: 5.226 MB / 0.6038 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006192/0.4244, allocations: 3.053 MB / 0.6068 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00765/0.4321, allocations: 4.369 MB / 0.6111 GB, free: 296 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003001/0.4351, allocations: 0.6641 MB / 0.6117 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005859/0.4409, allocations: 1.724 MB / 0.6134 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006326/0.4472, allocations: 3.81 MB / 0.6171 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008221/0.4555, allocations: 3.153 MB / 0.6202 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.4761, allocations: 13.72 MB / 0.6336 GB, free: 9.125 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.4761, allocations: 0 / 0.6336 GB, free: 9.125 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4761, allocations: 3.938 kB / 0.6336 GB, free: 9.121 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005259/0.4766, allocations: 0 / 0.6336 GB, free: 9.121 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.02865/0.5053, allocations: 9.276 MB / 0.6427 GB, free: 15.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.5053, allocations: 16.02 kB / 0.6427 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004748/0.5101, allocations: 1.419 MB / 0.6441 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03361/0.5437, allocations: 6.478 MB / 0.6504 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/0.5612, allocations: 5.966 MB / 0.6562 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/0.5618, allocations: 430.9 kB / 0.6566 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003157/0.5649, allocations: 0.605 MB / 0.6572 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/0.6121, allocations: 20.7 MB / 0.6774 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004844/0.6126, allocations: 79.41 kB / 0.6775 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002445/0.615, allocations: 275.7 kB / 0.6778 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006838/0.6219, allocations: 3.706 MB / 0.6814 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04242/0.6643, allocations: 18.09 MB / 0.699 GB, free: 4.711 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.6805/1.345, allocations: 70.82 MB / 0.7682 GB, free: 79.42 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/1.361, allocations: 6.482 MB / 0.7745 GB, free: 79.29 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00521/1.367, allocations: 3.744 MB / 0.7782 GB, free: 78.98 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02893/1.395, allocations: 14.7 MB / 0.7925 GB, free: 73.51 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/1.395, allocations: 68.06 kB / 0.7926 GB, free: 73.45 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 8.586e-06/1.396, allocations: 3.875 kB / 0.7926 GB, free: 73.45 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1098/1.505, allocations: 35.54 MB / 0.8273 GB, free: 42.62 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/1.505, allocations: 200 kB / 0.8275 GB, free: 42.39 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/1.516, allocations: 6.829 MB / 0.8342 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000742/1.517, allocations: 89.7 kB / 0.8343 GB, free: 35.73 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.52, allocations: 5.641 MB / 0.8398 GB, free: 30.32 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.521, allocations: 1.589 MB / 0.8413 GB, free: 28.76 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004116/1.525, allocations: 2.08 MB / 0.8434 GB, free: 26.67 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.463e-05/1.526, allocations: 301.1 kB / 0.8437 GB, free: 26.38 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00632/1.532, allocations: 4.199 MB / 0.8478 GB, free: 22.17 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/1.543, allocations: 10.11 MB / 0.8576 GB, free: 9.281 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/1.561, allocations: 15.4 MB / 0.8727 GB, free: 7.812 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002406/1.561, allocations: 60 kB / 0.8727 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03651/1.598, allocations: 15.98 MB / 0.8883 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003433/1.598, allocations: 100.1 kB / 0.8884 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003665/1.599, allocations: 204 kB / 0.8886 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00831/1.607, allocations: 2.314 MB / 0.8909 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008713/1.616, allocations: 2.417 MB / 0.8932 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/1.637, allocations: 12.24 MB / 0.9052 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008594/1.645, allocations: 0.6244 MB / 0.9058 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/1.647, allocations: 0.5919 MB / 0.9064 GB, free: 6.098 MB / 0.6075 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.008232/1.656, allocations: 3.75 MB / 0.91 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001845/1.657, allocations: 0.6324 MB / 0.9107 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/1.677, allocations: 8.144 MB / 0.9186 GB, free: 9.508 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/1.677, allocations: 59.98 kB / 0.9187 GB, free: 9.449 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/1.677, allocations: 12 kB / 0.9187 GB, free: 9.438 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-05/1.677, allocations: 19.69 kB / 0.9187 GB, free: 9.422 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04476/1.722, allocations: 17.39 MB / 0.9357 GB, free: 7.867 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.723e-05/1.722, allocations: 19.94 kB / 0.9357 GB, free: 7.848 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.725, allocations: 0.6132 MB / 0.9363 GB, free: 7.234 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006707/1.732, allocations: 1.741 MB / 0.938 GB, free: 5.488 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006763/1.733, allocations: 83.19 kB / 0.9381 GB, free: 5.41 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/1.752, allocations: 10.34 MB / 0.9482 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/1.752, allocations: 19.94 kB / 0.9482 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/1.777, allocations: 12.17 MB / 0.9601 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.779, allocations: 0.5776 MB / 0.9606 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002217/1.781, allocations: 77.61 kB / 0.9607 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/1.786, allocations: 219.7 kB / 0.9609 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001164/1.787, allocations: 271.8 kB / 0.9612 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006215/1.787, allocations: 112 kB / 0.9613 GB, free: 13.26 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01142/1.799, allocations: 4.026 MB / 0.9652 GB, free: 9.246 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.263e-06/1.799, allocations: 4 kB / 0.9652 GB, free: 9.242 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01279/1.812, allocations: 1.88 MB / 0.9671 GB, free: 7.367 MB / 0.67 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.02649/1.838, allocations: 12.95 MB / 0.9797 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.01999/1.858, allocations: 9.433 MB / 0.9889 GB, free: 0.7266 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 2.973e-05/1.858, allocations: 4 kB / 0.9889 GB, free: 0.7227 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.2966/2.155, allocations: 3.052 MB / 0.9919 GB, free: 265.1 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006744/2.161, allocations: 0.8107 MB / 0.9927 GB, free: 265.1 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/2.287, allocations: 87.84 MB / 1.078 GB, free: 182.9 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007015/2.294, allocations: 5.114 MB / 1.083 GB, free: 177.8 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.007511/2.301, allocations: 3.323 MB / 1.087 GB, free: 174.6 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00612/2.308, allocations: 3.663 MB / 1.09 GB, free: 170.9 MB / 0.6857 GB Notification: Performance of SimCode: time 2.455e-06/2.308, allocations: 0 / 1.09 GB, free: 170.9 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1882/2.496, allocations: 129.3 MB / 1.217 GB, free: 42.57 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.8/27.3, allocations: 5.641 kB / 1.217 GB, free: 42.57 MB / 0.6857 GB " [Timeout remaining time 632] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.644288081999548] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 27.503840538000077 27.519659203 27.040730697 Calling exit ...