Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001263/0.001263, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00147/0.00147, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.43/1.43, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.339/0.339, allocations: 46.93 MB / 361.6 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 75.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3472, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02144/0.3686, allocations: 17.76 MB / 0.5788 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3823, allocations: 5.745 MB / 0.5845 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003406/0.3857, allocations: 131.4 kB / 0.5846 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009222/0.3949, allocations: 4.656 MB / 0.5891 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008711/0.4036, allocations: 3.082 MB / 0.5921 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003668/0.4073, allocations: 1.49 MB / 0.5936 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.4214, allocations: 8.94 MB / 0.6023 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007891/0.4293, allocations: 5.257 MB / 0.6075 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/0.4354, allocations: 3.057 MB / 0.6104 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008239/0.4436, allocations: 4.615 MB / 0.6149 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003256/0.4469, allocations: 0.664 MB / 0.6156 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006027/0.4529, allocations: 1.884 MB / 0.6174 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00693/0.4598, allocations: 3.794 MB / 0.6211 GB, free: 7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007981/0.4678, allocations: 4.234 MB / 0.6253 GB, free: 2.742 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.4881, allocations: 13.64 MB / 0.6386 GB, free: 5.047 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4881, allocations: 8 kB / 0.6386 GB, free: 5.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4881, allocations: 3.938 kB / 0.6386 GB, free: 5.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004967/0.4886, allocations: 0 / 0.6386 GB, free: 5.035 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.02618/0.5148, allocations: 9.256 MB / 0.6476 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.5148, allocations: 12.03 kB / 0.6477 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003887/0.5187, allocations: 1.423 MB / 0.649 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/0.5486, allocations: 6.013 MB / 0.6549 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.562, allocations: 5.924 MB / 0.6607 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004554/0.5624, allocations: 438.9 kB / 0.6611 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/0.565, allocations: 0.6011 MB / 0.6617 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0418/0.6068, allocations: 20.57 MB / 0.6818 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/0.6072, allocations: 83.33 kB / 0.6819 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/0.6085, allocations: 271.7 kB / 0.6821 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005819/0.6143, allocations: 3.718 MB / 0.6858 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04122/0.6555, allocations: 18.07 MB / 0.7034 GB, free: 1.312 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.6594/1.315, allocations: 74.11 MB / 0.7758 GB, free: 103 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/1.331, allocations: 6.249 MB / 0.7819 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004778/1.335, allocations: 3.741 MB / 0.7855 GB, free: 99.82 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/1.361, allocations: 15.36 MB / 0.8005 GB, free: 90.95 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/1.361, allocations: 60.56 kB / 0.8006 GB, free: 90.88 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=332): time 6.743e-06/1.361, allocations: 0 / 0.8006 GB, free: 90.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=413): time 0.1008/1.462, allocations: 34.23 MB / 0.834 GB, free: 57.17 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/1.462, allocations: 197.4 kB / 0.8342 GB, free: 56.94 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00764/1.47, allocations: 6.496 MB / 0.8406 GB, free: 50.57 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008162/1.471, allocations: 85.7 kB / 0.8406 GB, free: 50.48 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002514/1.473, allocations: 5.636 MB / 0.8461 GB, free: 45.19 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.475, allocations: 1.588 MB / 0.8477 GB, free: 43.62 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002352/1.477, allocations: 2.082 MB / 0.8497 GB, free: 41.54 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.448e-05/1.477, allocations: 302.5 kB / 0.85 GB, free: 41.24 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005195/1.482, allocations: 4.182 MB / 0.8541 GB, free: 37.05 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007623/1.49, allocations: 10.07 MB / 0.8639 GB, free: 24.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/1.505, allocations: 15.37 MB / 0.8789 GB, free: 5.828 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/1.505, allocations: 56 kB / 0.879 GB, free: 5.773 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.03724/1.542, allocations: 15.94 MB / 0.8946 GB, free: 5.797 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/1.542, allocations: 92.97 kB / 0.8946 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002801/1.543, allocations: 211.9 kB / 0.8948 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008122/1.551, allocations: 2.31 MB / 0.8971 GB, free: 3.188 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009087/1.56, allocations: 2.402 MB / 0.8994 GB, free: 0.7812 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/1.581, allocations: 12.4 MB / 0.9116 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00888/1.59, allocations: 0.5776 MB / 0.9121 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/1.592, allocations: 0.5845 MB / 0.9127 GB, free: 3.105 MB / 0.5919 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.008837/1.601, allocations: 3.764 MB / 0.9164 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.603, allocations: 0.6286 MB / 0.917 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.621, allocations: 8.136 MB / 0.9249 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001046/1.621, allocations: 63.98 kB / 0.925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/1.621, allocations: 8 kB / 0.925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.159e-05/1.621, allocations: 23.88 kB / 0.925 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04101/1.662, allocations: 18.48 MB / 0.9431 GB, free: 3.609 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/1.662, allocations: 8 kB / 0.9431 GB, free: 3.602 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/1.666, allocations: 0.6202 MB / 0.9437 GB, free: 2.98 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006694/1.672, allocations: 1.745 MB / 0.9454 GB, free: 1.23 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008576/1.673, allocations: 79.98 kB / 0.9455 GB, free: 1.152 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/1.692, allocations: 10.49 MB / 0.9557 GB, free: 6.543 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-05/1.692, allocations: 19.88 kB / 0.9557 GB, free: 6.523 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02431/1.717, allocations: 12.16 MB / 0.9676 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/1.719, allocations: 0.5776 MB / 0.9682 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00198/1.721, allocations: 87.95 kB / 0.9682 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/1.725, allocations: 195.8 kB / 0.9684 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.726, allocations: 265.6 kB / 0.9687 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.726, allocations: 112 kB / 0.9688 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008533/1.735, allocations: 4.038 MB / 0.9727 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.21e-07/1.735, allocations: 0 / 0.9727 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01044/1.745, allocations: 1.879 MB / 0.9746 GB, free: 2.961 MB / 0.6544 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.02521/1.77, allocations: 12.95 MB / 0.9872 GB, free: 5.734 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3286/2.099, allocations: 9.408 MB / 0.9964 GB, free: 247.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/2.099, allocations: 3.969 kB / 0.9964 GB, free: 247.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005161/2.104, allocations: 3.042 MB / 0.9994 GB, free: 247 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005733/2.11, allocations: 0.8157 MB / 1 GB, free: 246.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.12/2.23, allocations: 87.81 MB / 1.086 GB, free: 163.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006049/2.236, allocations: 5.581 MB / 1.091 GB, free: 157.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006651/2.242, allocations: 3.304 MB / 1.095 GB, free: 154.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005146/2.248, allocations: 3.67 MB / 1.098 GB, free: 150.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.392e-06/2.248, allocations: 0 / 1.098 GB, free: 150.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/2.438, allocations: 133.1 MB / 1.228 GB, free: 18.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.31/42.75, allocations: 17.16 kB / 1.228 GB, free: 18.31 MB / 0.67 GB " [Timeout remaining time 617] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_FourbarVariants_JointUSR.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 46.08076121611521] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 42.94384363805875 43.167078935 42.675887654 Calling exit ...