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.001097/0.001097, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001284/0.001284, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 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.009/1.009, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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.1702/0.1702, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.628e-05, allocations: 3.062 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01089/0.01092, allocations: 16.55 MB / 396.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009729/0.02064, allocations: 5.556 MB / 402.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.02362, allocations: 135.4 kB / 402.2 MB, free: 452 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005512/0.02913, allocations: 4.843 MB / 407.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006695/0.03583, allocations: 3.18 MB / 410.2 MB, free: 8.383 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.03916, allocations: 1.711 MB / 412 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.05052, allocations: 10.32 MB / 422.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009051/0.05957, allocations: 6.446 MB / 428.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.07058, allocations: 5.306 MB / 434 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007165/0.07774, allocations: 4.895 MB / 438.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002101/0.07984, allocations: 0.6641 MB / 439.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.08355, allocations: 1.83 MB / 441.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00385/0.0874, allocations: 3.966 MB / 445.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005152/0.09255, allocations: 2.469 MB / 447.9 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.1044, allocations: 8.703 MB / 456.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1044, allocations: 0 / 456.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1044, allocations: 0 / 456.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000449/0.1049, allocations: 0 / 456.6 MB, free: 9.898 MB / 378.7 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.01572/0.1206, allocations: 9.233 MB / 465.8 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1206, allocations: 8.031 kB / 465.8 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009572/0.1302, allocations: 3.266 MB / 469.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007157/0.1373, allocations: 3.872 MB / 472.9 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.1377, allocations: 427.3 kB / 473.4 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/0.1394, allocations: 0.6049 MB / 474 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.1584, allocations: 10.66 MB / 484.6 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.1586, allocations: 79.31 kB / 484.7 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006686/0.1592, allocations: 271.7 kB / 485 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003325/0.1626, allocations: 3.343 MB / 488.3 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.1759, allocations: 5.408 MB / 493.7 MB, free: 2.965 MB / 410.7 MB 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.4083/0.5842, allocations: 76.61 MB / 0.557 GB, free: 40.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009784/0.594, allocations: 3.499 MB / 0.5604 GB, free: 37.2 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/0.5967, allocations: 1.135 MB / 0.5615 GB, free: 36.05 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/0.6126, allocations: 9.476 MB / 0.5707 GB, free: 26.77 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.6126, allocations: 70.5 kB / 0.5708 GB, free: 26.69 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 8.285e-06/0.6126, allocations: 0 / 0.5708 GB, free: 26.69 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.05887/0.6715, allocations: 16.8 MB / 0.5872 GB, free: 10.47 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.6716, allocations: 196.9 kB / 0.5874 GB, free: 10.24 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007709/0.6793, allocations: 5.597 MB / 0.5929 GB, free: 4.914 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/0.6803, allocations: 89.69 kB / 0.593 GB, free: 4.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003213/0.6835, allocations: 5.869 MB / 0.5987 GB, free: 15.06 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003138/0.6866, allocations: 1.659 MB / 0.6003 GB, free: 13.39 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003286/0.6899, allocations: 2.3 MB / 0.6026 GB, free: 11.08 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6901, allocations: 476.8 kB / 0.603 GB, free: 10.61 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.6928, allocations: 1.303 MB / 0.6043 GB, free: 9.309 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007881/0.7007, allocations: 10.16 MB / 0.6142 GB, free: 11.17 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.7139, allocations: 12.47 MB / 0.6264 GB, free: 10.77 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002426/0.7141, allocations: 63.94 kB / 0.6264 GB, free: 10.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.02212/0.7362, allocations: 9.484 MB / 0.6357 GB, free: 1.188 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.7364, allocations: 100.9 kB / 0.6358 GB, free: 1.09 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002975/0.7367, allocations: 204 kB / 0.636 GB, free: 0.8906 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004127/0.7409, allocations: 1.494 MB / 0.6375 GB, free: 15.39 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006042/0.7469, allocations: 2.328 MB / 0.6397 GB, free: 13.06 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/0.7552, allocations: 5.509 MB / 0.6451 GB, free: 7.438 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007695/0.7629, allocations: 427.7 kB / 0.6455 GB, free: 7.02 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/0.7657, allocations: 0.5156 MB / 0.646 GB, free: 6.504 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 945 * 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 (1314): * Single equations (assignments): 1307 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004906/0.7706, allocations: 0.9964 MB / 0.647 GB, free: 5.492 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/0.7728, allocations: 0.6915 MB / 0.6477 GB, free: 4.797 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/0.78, allocations: 3.741 MB / 0.6513 GB, free: 1.008 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.581e-05/0.78, allocations: 63.98 kB / 0.6514 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/0.7801, allocations: 8 kB / 0.6514 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.7801, allocations: 15.94 kB / 0.6514 GB, free: 0.9219 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/0.8058, allocations: 11.91 MB / 0.663 GB, free: 4.598 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.8059, allocations: 12 kB / 0.663 GB, free: 4.586 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.8075, allocations: 0.5468 MB / 0.6636 GB, free: 4.039 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.8109, allocations: 1.084 MB / 0.6646 GB, free: 2.949 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004246/0.8113, allocations: 91.92 kB / 0.6647 GB, free: 2.859 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.236/1.047, allocations: 4.067 MB / 0.6687 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.047, allocations: 24.03 kB / 0.6687 GB, free: 156.6 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.058, allocations: 5.424 MB / 0.674 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.06, allocations: 0.5592 MB / 0.6746 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006602/1.06, allocations: 90.88 kB / 0.6747 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.062, allocations: 82.64 kB / 0.6747 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004749/1.062, allocations: 291.1 kB / 0.675 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.062, allocations: 96.28 kB / 0.6751 GB, free: 154.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002792/1.065, allocations: 2.228 MB / 0.6773 GB, free: 154.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.81e-07/1.065, allocations: 0 / 0.6773 GB, free: 154.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007656/1.073, allocations: 2.119 MB / 0.6793 GB, free: 154.7 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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 (336): * Single equations (assignments): 329 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008457/1.074, allocations: 309.5 kB / 0.6796 GB, free: 154.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.008034/1.082, allocations: 5.422 MB / 0.6849 GB, free: 154 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.082, allocations: 0 / 0.6849 GB, free: 154 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/1.084, allocations: 1.609 MB / 0.6865 GB, free: 153.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/1.088, allocations: 0.7225 MB / 0.6872 GB, free: 153.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.11, allocations: 14.59 MB / 0.7015 GB, free: 143.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.114, allocations: 2.338 MB / 0.7037 GB, free: 142.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00351/1.117, allocations: 0.8607 MB / 0.7046 GB, free: 141.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/1.119, allocations: 0.982 MB / 0.7055 GB, free: 141 MB / 490.8 MB Notification: Performance of SimCode: time 2.725e-06/1.119, allocations: 0 / 0.7055 GB, free: 141 MB / 490.8 MB Notification: Performance of Templates: time 0.1077/1.226, allocations: 73.02 MB / 0.7768 GB, free: 70.35 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.307599962223321]