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.001771/0.001771, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.002084/0.002084, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.528/1.528, allocations: 230.4 MB / 254 MB, free: 15.02 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.238/0.238, allocations: 46.92 MB / 357 MB, free: 10.2 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.002596/0.002596, allocations: 79.88 kB / 0.491 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1468, allocations: 66.05 MB / 0.5555 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02184/0.1686, allocations: 17.71 MB / 0.5728 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.183, allocations: 5.708 MB / 0.5783 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.1867, allocations: 131.4 kB / 0.5785 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009799/0.1965, allocations: 4.641 MB / 0.583 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009491/0.206, allocations: 3.054 MB / 0.586 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.2102, allocations: 1.498 MB / 0.5874 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3133/0.5235, allocations: 8.948 MB / 0.5962 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.5337, allocations: 5.466 MB / 0.6015 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008696/0.5424, allocations: 3.059 MB / 0.6045 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009928/0.5524, allocations: 4.617 MB / 0.609 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003431/0.5558, allocations: 0.6622 MB / 0.6097 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006179/0.562, allocations: 1.88 MB / 0.6115 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006764/0.5687, allocations: 3.803 MB / 0.6152 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009778/0.5785, allocations: 4.214 MB / 0.6193 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02296/0.6015, allocations: 13.76 MB / 0.6328 GB, free: 9.973 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6015, allocations: 0 / 0.6328 GB, free: 9.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6015, allocations: 0 / 0.6328 GB, free: 9.973 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006089/0.6021, allocations: 0 / 0.6328 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.02728/0.6294, allocations: 9.336 MB / 0.6419 GB, free: 3.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6294, allocations: 8.031 kB / 0.6419 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004414/0.6338, allocations: 1.426 MB / 0.6433 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03357/0.6674, allocations: 6.005 MB / 0.6491 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.6827, allocations: 6.028 MB / 0.655 GB, free: 6.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/0.6833, allocations: 439.8 kB / 0.6554 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/0.6864, allocations: 0.6003 MB / 0.656 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04578/0.7321, allocations: 20.56 MB / 0.6761 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003542/0.7325, allocations: 81.17 kB / 0.6762 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00219/0.7347, allocations: 272.3 kB / 0.6764 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006525/0.7412, allocations: 3.715 MB / 0.6801 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03991/0.7811, allocations: 18.06 MB / 0.6977 GB, free: 10.54 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.1186/0.8997, allocations: 74.11 MB / 0.7701 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/0.9193, allocations: 7.133 MB / 0.7771 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007183/0.9265, allocations: 3.755 MB / 0.7807 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03493/0.9614, allocations: 18.05 MB / 0.7983 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.9615, allocations: 64.5 kB / 0.7984 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=332): time 6.893e-06/0.9615, allocations: 0 / 0.7984 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=413): time 0.3996/1.361, allocations: 34.66 MB / 0.8323 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.361, allocations: 194.2 kB / 0.8324 GB, free: 209 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/1.375, allocations: 6.495 MB / 0.8388 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007411/1.376, allocations: 83.44 kB / 0.8389 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003619/1.379, allocations: 5.643 MB / 0.8444 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/1.381, allocations: 1.594 MB / 0.8459 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003269/1.384, allocations: 2.083 MB / 0.848 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/1.384, allocations: 301.7 kB / 0.8483 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007434/1.392, allocations: 4.181 MB / 0.8523 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/1.402, allocations: 10.07 MB / 0.8622 GB, free: 192 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/1.418, allocations: 15.38 MB / 0.8772 GB, free: 179.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000297/1.418, allocations: 62.88 kB / 0.8772 GB, free: 179.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03149/1.45, allocations: 15.94 MB / 0.8928 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.45, allocations: 98.09 kB / 0.8929 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002661/1.45, allocations: 209.4 kB / 0.8931 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007115/1.457, allocations: 2.309 MB / 0.8954 GB, free: 173.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008021/1.465, allocations: 2.398 MB / 0.8977 GB, free: 173.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/1.482, allocations: 12.5 MB / 0.9099 GB, free: 162.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/1.49, allocations: 0.5829 MB / 0.9105 GB, free: 161.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.492, allocations: 0.587 MB / 0.9111 GB, free: 161.3 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.00656/1.499, allocations: 3.76 MB / 0.9147 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.5, allocations: 0.6325 MB / 0.9153 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.516, allocations: 8.135 MB / 0.9233 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-05/1.516, allocations: 65.39 kB / 0.9233 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/1.516, allocations: 8 kB / 0.9234 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/1.516, allocations: 23.88 kB / 0.9234 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03222/1.548, allocations: 18.5 MB / 0.9414 GB, free: 129.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-05/1.548, allocations: 16.25 kB / 0.9415 GB, free: 129.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.551, allocations: 0.6162 MB / 0.9421 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006/1.557, allocations: 1.75 MB / 0.9438 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005503/1.557, allocations: 79.98 kB / 0.9438 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.571, allocations: 10.57 MB / 0.9542 GB, free: 116.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/1.571, allocations: 19.88 kB / 0.9542 GB, free: 116.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01785/1.589, allocations: 12.18 MB / 0.9661 GB, free: 104.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.59, allocations: 0.6491 MB / 0.9667 GB, free: 103.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009578/1.591, allocations: 81.25 kB / 0.9668 GB, free: 103.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.594, allocations: 201.5 kB / 0.967 GB, free: 103.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/1.595, allocations: 257.6 kB / 0.9672 GB, free: 103 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002337/1.595, allocations: 112 kB / 0.9673 GB, free: 102.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005488/1.6, allocations: 4.034 MB / 0.9713 GB, free: 98.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/1.6, allocations: 0 / 0.9713 GB, free: 98.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009503/1.61, allocations: 1.883 MB / 0.9731 GB, free: 96.98 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.01918/1.629, allocations: 12.94 MB / 0.9858 GB, free: 83.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.643, allocations: 9.416 MB / 0.995 GB, free: 74.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.643, allocations: 4.25 kB / 0.995 GB, free: 74.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004341/1.647, allocations: 3.048 MB / 0.9979 GB, free: 71.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/1.652, allocations: 0.8091 MB / 0.9987 GB, free: 70.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4686/2.121, allocations: 87.64 MB / 1.084 GB, free: 210.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01149/2.132, allocations: 5.576 MB / 1.09 GB, free: 209.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.009014/2.141, allocations: 3.316 MB / 1.093 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006069/2.147, allocations: 3.665 MB / 1.097 GB, free: 208 MB / 0.6544 GB Notification: Performance of SimCode: time 2.554e-06/2.147, allocations: 0 / 1.097 GB, free: 208 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/2.364, allocations: 128.9 MB / 1.222 GB, free: 100.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.39/41.75, allocations: 6.531 kB / 1.222 GB, free: 100.5 MB / 0.6544 GB " [Timeout remaining time 618] (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: 45.250167515012436] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 41.92073715396691 41.935042112 41.330270651 Calling exit ...