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.001666/0.001666, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.001672/0.001672, allocations: 206.6 kB / 21.4 MB, free: 1.668 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.52/1.52, allocations: 227.4 MB / 251.7 MB, free: 64 kB / 190.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.2625/0.2625, allocations: 46.18 MB / 351.1 MB, free: 14.28 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: 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 0.002236/0.002236, allocations: 77.03 kB / 490.2 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1415, allocations: 62.45 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02142/0.163, allocations: 17.64 MB / 0.5569 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.1775, allocations: 5.69 MB / 0.5625 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004119/0.1816, allocations: 115.7 kB / 0.5626 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009312/0.191, allocations: 4.563 MB / 0.567 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008927/0.2, allocations: 2.965 MB / 0.5699 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.2041, allocations: 1.513 MB / 0.5714 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01474/0.2188, allocations: 8.929 MB / 0.5801 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.23, allocations: 6.445 MB / 0.5864 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008304/0.2384, allocations: 3.01 MB / 0.5893 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008351/0.2468, allocations: 4.253 MB / 0.5935 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003297/0.2501, allocations: 0.664 MB / 0.5942 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005662/0.2558, allocations: 1.826 MB / 0.5959 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006173/0.262, allocations: 3.682 MB / 0.5995 GB, free: 6.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009008/0.2711, allocations: 4.183 MB / 0.6036 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3673/0.6384, allocations: 13.54 MB / 0.6168 GB, free: 23.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.6385, allocations: 0.8438 kB / 0.6168 GB, free: 23.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6385, allocations: 2.812 kB / 0.6168 GB, free: 23.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006221/0.6391, allocations: 0 / 0.6168 GB, free: 23.87 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.03975/0.6789, allocations: 9.201 MB / 0.6258 GB, free: 20.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.679, allocations: 9.812 kB / 0.6258 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02109/0.7001, allocations: 4.151 MB / 0.6299 GB, free: 19.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/0.7158, allocations: 5.083 MB / 0.6349 GB, free: 18.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006399/0.7165, allocations: 440.2 kB / 0.6353 GB, free: 18.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00503/0.7216, allocations: 0.6065 MB / 0.6359 GB, free: 18.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05783/0.7794, allocations: 20.62 MB / 0.656 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006567/0.7801, allocations: 84.03 kB / 0.6561 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004171/0.7843, allocations: 276.4 kB / 0.6563 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005695/0.79, allocations: 3.705 MB / 0.66 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04787/0.8379, allocations: 18.21 MB / 0.6777 GB, free: 2.512 MB / 478.1 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.138/0.976, allocations: 74.41 MB / 0.7504 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01977/0.9958, allocations: 7.464 MB / 0.7577 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00699/1.003, allocations: 4.116 MB / 0.7617 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03577/1.039, allocations: 18.31 MB / 0.7796 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/1.039, allocations: 68.23 kB / 0.7797 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 8.096e-06/1.039, allocations: 2.438 kB / 0.7797 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.1264/1.165, allocations: 35.11 MB / 0.814 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/1.165, allocations: 195.1 kB / 0.8141 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.177, allocations: 6.485 MB / 0.8205 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.178, allocations: 81.7 kB / 0.8205 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.005346/1.184, allocations: 5.584 MB / 0.826 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.003215/1.187, allocations: 1.61 MB / 0.8276 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004074/1.191, allocations: 2.154 MB / 0.8297 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.191, allocations: 305.1 kB / 0.83 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008112/1.199, allocations: 4.336 MB / 0.8342 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01502/1.214, allocations: 10.28 MB / 0.8442 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4188/1.633, allocations: 15.68 MB / 0.8596 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002066/1.633, allocations: 59.59 kB / 0.8596 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03852/1.672, allocations: 16.38 MB / 0.8756 GB, free: 187.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.672, allocations: 100.7 kB / 0.8757 GB, free: 187.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003177/1.672, allocations: 206.8 kB / 0.8759 GB, free: 187.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007458/1.68, allocations: 2.375 MB / 0.8782 GB, free: 187 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00912/1.689, allocations: 2.466 MB / 0.8806 GB, free: 186.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/1.707, allocations: 12.75 MB / 0.8931 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/1.718, allocations: 0.5882 MB / 0.8937 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003006/1.721, allocations: 0.5996 MB / 0.8942 GB, free: 180.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * 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 (1316): * Single equations (assignments): 1309 * 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.009351/1.73, allocations: 3.776 MB / 0.8979 GB, free: 178 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.732, allocations: 0.6269 MB / 0.8985 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.748, allocations: 8.324 MB / 0.9067 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.808e-05/1.748, allocations: 63.91 kB / 0.9067 GB, free: 170.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/1.748, allocations: 8 kB / 0.9067 GB, free: 170.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/1.748, allocations: 23.92 kB / 0.9068 GB, free: 170.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/1.785, allocations: 18.84 MB / 0.9252 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.525e-05/1.785, allocations: 12 kB / 0.9252 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/1.788, allocations: 0.624 MB / 0.9258 GB, free: 150.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005902/1.794, allocations: 1.8 MB / 0.9276 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006877/1.795, allocations: 80 kB / 0.9276 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.809, allocations: 10.84 MB / 0.9382 GB, free: 137.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/1.809, allocations: 27 kB / 0.9382 GB, free: 137.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/1.828, allocations: 12.52 MB / 0.9505 GB, free: 125 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/1.831, allocations: 0.6569 MB / 0.9511 GB, free: 124.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/1.832, allocations: 79.98 kB / 0.9512 GB, free: 124.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/1.835, allocations: 207.1 kB / 0.9514 GB, free: 124.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007217/1.836, allocations: 265.6 kB / 0.9516 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.836, allocations: 116 kB / 0.9517 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007396/1.843, allocations: 4.02 MB / 0.9557 GB, free: 119.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/1.843, allocations: 0 / 0.9557 GB, free: 119.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01346/1.857, allocations: 1.92 MB / 0.9575 GB, free: 117.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * 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 (331): * Single equations (assignments): 324 * 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.001296/1.858, allocations: 285.2 kB / 0.9578 GB, free: 117.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.873, allocations: 10.19 MB / 0.9678 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.873, allocations: 4 kB / 0.9678 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004718/1.878, allocations: 3.398 MB / 0.9711 GB, free: 103.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/1.884, allocations: 0.7891 MB / 0.9718 GB, free: 103.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/1.915, allocations: 17.91 MB / 0.9893 GB, free: 85 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007927/1.923, allocations: 5.576 MB / 0.9948 GB, free: 79.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007054/1.93, allocations: 3.315 MB / 0.998 GB, free: 76.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.931, allocations: 419.4 kB / 0.9984 GB, free: 75.66 MB / 0.6387 GB Notification: Performance of SimCode: time 3.356e-06/1.931, allocations: 0 / 0.9984 GB, free: 75.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.1164/2.048, allocations: 69.4 MB / 1.066 GB, free: 6.609 MB / 0.6387 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.157820629887283]