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.00136/0.00136, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001497/0.001497, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.464/1.464, allocations: 230.4 MB / 254.7 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.2269/0.2269, allocations: 46.93 MB / 357.7 MB, free: 10.17 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 71.89 kB / 0.4916 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1505, allocations: 66.05 MB / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02104/0.1715, allocations: 17.71 MB / 0.5734 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1842, allocations: 5.714 MB / 0.579 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.187, allocations: 131.4 kB / 0.5791 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008617/0.1956, allocations: 4.641 MB / 0.5837 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.2033, allocations: 3.051 MB / 0.5867 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.2067, allocations: 1.498 MB / 0.5881 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3072/0.5139, allocations: 8.947 MB / 0.5969 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008689/0.5226, allocations: 5.475 MB / 0.6022 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00638/0.529, allocations: 3.054 MB / 0.6052 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008274/0.5373, allocations: 4.615 MB / 0.6097 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003145/0.5404, allocations: 0.6625 MB / 0.6103 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008405/0.5488, allocations: 1.882 MB / 0.6122 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009153/0.558, allocations: 3.797 MB / 0.6159 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01021/0.5682, allocations: 4.221 MB / 0.62 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03016/0.5983, allocations: 13.75 MB / 0.6334 GB, free: 9.969 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5983, allocations: 0 / 0.6334 GB, free: 9.969 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5983, allocations: 0 / 0.6334 GB, free: 9.969 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004873/0.5988, allocations: 4 kB / 0.6334 GB, free: 9.965 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.02994/0.6288, allocations: 9.337 MB / 0.6426 GB, free: 3.609 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.6288, allocations: 8.031 kB / 0.6426 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003547/0.6292, allocations: 225.8 kB / 0.6428 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004676/0.6339, allocations: 1.434 MB / 0.6442 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03373/0.6676, allocations: 6.008 MB / 0.65 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/0.6849, allocations: 6.024 MB / 0.6559 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/0.6854, allocations: 436 kB / 0.6563 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002992/0.6884, allocations: 0.6054 MB / 0.6569 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05/0.7384, allocations: 20.57 MB / 0.677 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004425/0.7389, allocations: 80.89 kB / 0.6771 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002785/0.7416, allocations: 276 kB / 0.6774 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006666/0.7483, allocations: 3.714 MB / 0.681 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04202/0.7903, allocations: 18.08 MB / 0.6987 GB, free: 10.26 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.1271/0.9174, allocations: 74.19 MB / 0.7711 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/0.9372, allocations: 7.14 MB / 0.7781 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006771/0.944, allocations: 3.752 MB / 0.7817 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03596/0.9799, allocations: 18.07 MB / 0.7994 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/0.98, allocations: 68.56 kB / 0.7994 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=332): time 7.324e-06/0.98, allocations: 0 / 0.7994 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=413): time 0.4059/1.386, allocations: 34.67 MB / 0.8333 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.386, allocations: 194.8 kB / 0.8335 GB, free: 211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.398, allocations: 6.487 MB / 0.8398 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008935/1.399, allocations: 86.8 kB / 0.8399 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003659/1.402, allocations: 5.651 MB / 0.8454 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/1.404, allocations: 1.592 MB / 0.847 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003483/1.408, allocations: 2.083 MB / 0.849 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/1.408, allocations: 302.8 kB / 0.8493 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007075/1.415, allocations: 4.181 MB / 0.8534 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.425, allocations: 10.08 MB / 0.8632 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/1.441, allocations: 15.37 MB / 0.8782 GB, free: 181.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003222/1.441, allocations: 58.06 kB / 0.8783 GB, free: 181.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1377) (initialization): time 0.0305/1.472, allocations: 15.95 MB / 0.8939 GB, free: 175.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.472, allocations: 93.09 kB / 0.894 GB, free: 175.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000258/1.472, allocations: 209.9 kB / 0.8942 GB, free: 175.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007398/1.479, allocations: 2.311 MB / 0.8964 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007629/1.487, allocations: 2.407 MB / 0.8988 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.503, allocations: 12.5 MB / 0.911 GB, free: 162.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009883/1.513, allocations: 0.5834 MB / 0.9115 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/1.515, allocations: 0.5878 MB / 0.9121 GB, free: 161 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.008908/1.524, allocations: 3.758 MB / 0.9158 GB, free: 157.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/1.526, allocations: 0.6286 MB / 0.9164 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.543, allocations: 8.136 MB / 0.9243 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.659e-05/1.543, allocations: 69.41 kB / 0.9244 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/1.543, allocations: 8 kB / 0.9244 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.39e-05/1.543, allocations: 15.94 kB / 0.9244 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/1.581, allocations: 18.51 MB / 0.9425 GB, free: 129.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/1.581, allocations: 12.47 kB / 0.9425 GB, free: 129.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/1.584, allocations: 0.6218 MB / 0.9431 GB, free: 128.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/1.59, allocations: 1.741 MB / 0.9448 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007288/1.59, allocations: 79.98 kB / 0.9449 GB, free: 127.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/1.605, allocations: 10.59 MB / 0.9552 GB, free: 116.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.605, allocations: 23.81 kB / 0.9553 GB, free: 116.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02027/1.625, allocations: 12.17 MB / 0.9672 GB, free: 103.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/1.628, allocations: 0.6491 MB / 0.9678 GB, free: 103.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002386/1.63, allocations: 81.2 kB / 0.9679 GB, free: 103.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0044/1.634, allocations: 203.8 kB / 0.9681 GB, free: 103 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/1.636, allocations: 258.7 kB / 0.9683 GB, free: 102.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006668/1.636, allocations: 117.8 kB / 0.9684 GB, free: 102.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00822/1.644, allocations: 4.034 MB / 0.9724 GB, free: 98.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/1.644, allocations: 4 kB / 0.9724 GB, free: 98.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0109/1.655, allocations: 1.868 MB / 0.9742 GB, free: 96.72 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.02142/1.677, allocations: 12.95 MB / 0.9868 GB, free: 83.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.692, allocations: 9.408 MB / 0.996 GB, free: 74.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/1.692, allocations: 0 / 0.996 GB, free: 74.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004926/1.697, allocations: 3.048 MB / 0.999 GB, free: 71.03 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007645/1.705, allocations: 0.8128 MB / 0.9998 GB, free: 70.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4379/2.142, allocations: 87.66 MB / 1.085 GB, free: 210.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0111/2.153, allocations: 5.578 MB / 1.091 GB, free: 209.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008225/2.162, allocations: 3.313 MB / 1.094 GB, free: 209.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005337/2.167, allocations: 3.671 MB / 1.098 GB, free: 207.6 MB / 0.6544 GB Notification: Performance of SimCode: time 1.373e-06/2.167, allocations: 0 / 1.098 GB, free: 207.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/2.34, allocations: 128.9 MB / 1.224 GB, free: 99.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.49/37.83, allocations: 7.562 kB / 1.224 GB, free: 99.9 MB / 0.6544 GB " [Timeout remaining time 622] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 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: 41.04660933400737] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 38.050467082997784 38.062687155 37.461398135 Calling exit ...