Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 174.3 kB / 24.92 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9702/0.9702, allocations: 177.1 MB / 205.3 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2748/0.2748, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.039e-05, allocations: 9.516 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01824/0.01827, allocations: 16.55 MB / 339.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.03384, allocations: 5.794 MB / 345.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004551/0.03839, allocations: 131.4 kB / 345.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008636/0.04703, allocations: 4.898 MB / 350.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008977/0.05601, allocations: 3.208 MB / 353.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003668/0.05967, allocations: 1.704 MB / 355.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0152/0.07487, allocations: 10.32 MB / 365.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008301/0.08317, allocations: 6.576 MB / 372.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.09444, allocations: 5.279 MB / 377.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007866/0.1023, allocations: 4.688 MB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002787/0.1051, allocations: 0.668 MB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004607/0.1097, allocations: 1.806 MB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004529/0.1142, allocations: 3.966 MB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005107/0.1193, allocations: 2.469 MB / 391.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.1309, allocations: 8.703 MB / 400 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1309, allocations: 3.938 kB / 400 MB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1309, allocations: 0 / 400 MB, free: 12.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004403/0.1314, allocations: 4 kB / 400 MB, free: 12.65 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.01412/0.1455, allocations: 8.259 MB / 408.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1456, allocations: 8.031 kB / 408.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00734/0.1529, allocations: 2.303 MB / 410.6 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007859/0.1608, allocations: 3.599 MB / 414.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005139/0.1613, allocations: 431.3 kB / 414.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002202/0.1635, allocations: 0.6088 MB / 415.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.1857, allocations: 9.569 MB / 424.8 MB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003036/0.186, allocations: 75.33 kB / 424.8 MB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/0.1872, allocations: 267.7 kB / 425.1 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004388/0.1916, allocations: 3.347 MB / 428.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.2101, allocations: 5.262 MB / 433.7 MB, free: 9.562 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.35/0.5601, allocations: 55.96 MB / 489.7 MB, free: 67.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007552/0.5677, allocations: 3.477 MB / 493.1 MB, free: 64.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.5693, allocations: 0.9291 MB / 494.1 MB, free: 63.63 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.582, allocations: 8.844 MB / 0.4911 GB, free: 55.13 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.582, allocations: 67.56 kB / 0.4912 GB, free: 55.06 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 5.751e-06/0.582, allocations: 0 / 0.4912 GB, free: 55.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.03621/0.6183, allocations: 15.11 MB / 0.5059 GB, free: 40.89 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.6183, allocations: 200.4 kB / 0.5061 GB, free: 40.66 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/0.6234, allocations: 5.057 MB / 0.5111 GB, free: 35.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007822/0.6241, allocations: 81.7 kB / 0.5111 GB, free: 35.79 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.6259, allocations: 5.233 MB / 0.5163 GB, free: 30.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/0.6276, allocations: 1.596 MB / 0.5178 GB, free: 28.98 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.6295, allocations: 1.983 MB / 0.5198 GB, free: 26.99 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.6295, allocations: 305.1 kB / 0.52 GB, free: 26.69 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.6319, allocations: 1.544 MB / 0.5216 GB, free: 25.14 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.6356, allocations: 7.299 MB / 0.5287 GB, free: 15.05 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006887/0.6424, allocations: 9.727 MB / 0.5382 GB, free: 2.453 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001915/0.6426, allocations: 60 kB / 0.5382 GB, free: 2.395 MB / 410.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.0156/0.6582, allocations: 8.102 MB / 0.5461 GB, free: 10.24 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.6583, allocations: 95.94 kB / 0.5462 GB, free: 10.14 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/0.6586, allocations: 208 kB / 0.5464 GB, free: 9.941 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/0.6623, allocations: 1.463 MB / 0.5479 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/0.6678, allocations: 2.332 MB / 0.5501 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006948/0.6748, allocations: 4.69 MB / 0.5547 GB, free: 1.348 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/0.6812, allocations: 431.7 kB / 0.5551 GB, free: 0.9258 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/0.6829, allocations: 0.5117 MB / 0.5556 GB, free: 424 kB / 426.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.005049/0.6879, allocations: 0.9536 MB / 0.5566 GB, free: 15.45 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/0.6893, allocations: 427.5 kB / 0.557 GB, free: 15.03 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00591/0.6952, allocations: 3.264 MB / 0.5602 GB, free: 11.72 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.4e-05/0.6952, allocations: 63.98 kB / 0.5602 GB, free: 11.66 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.6952, allocations: 12 kB / 0.5602 GB, free: 11.64 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.6953, allocations: 15.94 kB / 0.5602 GB, free: 11.63 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.7149, allocations: 10.2 MB / 0.5702 GB, free: 1.07 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/0.7149, allocations: 12 kB / 0.5702 GB, free: 1.059 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.7165, allocations: 0.5461 MB / 0.5708 GB, free: 0.5117 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003834/0.7203, allocations: 1.335 MB / 0.5721 GB, free: 15.17 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005094/0.7208, allocations: 79.98 kB / 0.5721 GB, free: 15.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004817/0.7257, allocations: 3.329 MB / 0.5754 GB, free: 11.66 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.7257, allocations: 27.95 kB / 0.5754 GB, free: 11.64 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007548/0.7332, allocations: 4.676 MB / 0.58 GB, free: 6.578 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.7348, allocations: 0.5429 MB / 0.5805 GB, free: 6.031 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/0.7359, allocations: 87.92 kB / 0.5806 GB, free: 5.945 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.7376, allocations: 76 kB / 0.5807 GB, free: 5.871 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004404/0.7381, allocations: 289.4 kB / 0.5809 GB, free: 5.586 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.7383, allocations: 99.97 kB / 0.581 GB, free: 5.488 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00252/0.7408, allocations: 1.881 MB / 0.5829 GB, free: 3.637 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7408, allocations: 3.938 kB / 0.5829 GB, free: 3.633 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008149/0.7489, allocations: 2.129 MB / 0.585 GB, free: 1.504 MB / 458.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.0009863/0.7499, allocations: 287.4 kB / 0.5852 GB, free: 1.211 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007593/0.7575, allocations: 4.887 MB / 0.59 GB, free: 12.34 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004546/0.758, allocations: 124.2 kB / 0.5901 GB, free: 12.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.7601, allocations: 1.375 MB / 0.5915 GB, free: 10.81 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005151/0.7653, allocations: 1.15 MB / 0.5926 GB, free: 9.672 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.7876, allocations: 14.32 MB / 0.6066 GB, free: 11.04 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00357/0.7912, allocations: 2.326 MB / 0.6088 GB, free: 8.684 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003097/0.7943, allocations: 0.8665 MB / 0.6097 GB, free: 7.812 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/0.7961, allocations: 0.919 MB / 0.6106 GB, free: 6.895 MB / 490.8 MB Notification: Performance of SimCode: time 2.565e-06/0.7961, allocations: 0 / 0.6106 GB, free: 6.895 MB / 490.8 MB Notification: Performance of Templates: time 0.2489/1.045, allocations: 71.2 MB / 0.6801 GB, free: 123.3 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.456343194935471]