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.001554/0.001554, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001827/0.001827, allocations: 168.5 kB / 25.61 MB, free: 8.582 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 1.035/1.035, allocations: 177.1 MB / 206 MB, free: 4.473 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.1616/0.1616, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.733e-06/1.733e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.718e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02166/0.02169, allocations: 16.55 MB / 393.8 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.03224, allocations: 5.556 MB / 399.4 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003699/0.03594, allocations: 127.4 kB / 399.5 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005979/0.04192, allocations: 4.847 MB / 404.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007894/0.04981, allocations: 3.184 MB / 407.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.053, allocations: 1.704 MB / 409.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01308/0.06608, allocations: 10.33 MB / 419.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008609/0.07469, allocations: 6.454 MB / 426 MB, free: 8.648 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.08636, allocations: 5.314 MB / 431.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.09367, allocations: 4.895 MB / 436.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.09611, allocations: 0.668 MB / 436.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.09995, allocations: 1.818 MB / 438.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004456/0.1044, allocations: 3.966 MB / 442.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004164/0.1086, allocations: 2.465 MB / 445.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.1191, allocations: 8.703 MB / 453.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1191, allocations: 0 / 453.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1191, allocations: 0 / 453.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000337/0.1194, allocations: 4 kB / 453.8 MB, free: 12.74 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.01546/0.1349, allocations: 9.233 MB / 463.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.135, allocations: 11.98 kB / 463.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009597/0.1446, allocations: 3.266 MB / 466.3 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007636/0.1522, allocations: 3.872 MB / 470.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.1526, allocations: 431.3 kB / 470.6 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.1548, allocations: 0.601 MB / 471.2 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.177, allocations: 10.65 MB / 481.9 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.1772, allocations: 75.38 kB / 482 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008766/0.1781, allocations: 275.7 kB / 482.2 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003104/0.1812, allocations: 3.351 MB / 485.6 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.1955, allocations: 5.403 MB / 491 MB, free: 5.805 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.328/0.5235, allocations: 76.62 MB / 0.5543 GB, free: 44.26 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007252/0.5308, allocations: 3.493 MB / 0.5577 GB, free: 40.76 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.532, allocations: 1.131 MB / 0.5588 GB, free: 39.62 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.5427, allocations: 9.477 MB / 0.5681 GB, free: 30.34 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.5427, allocations: 70.78 kB / 0.5681 GB, free: 30.26 MB / 410.8 MB Notification: Performance of pre-optimization done (n=334): time 5.44e-06/0.5427, allocations: 7.984 kB / 0.5681 GB, free: 30.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=421): time 0.03792/0.5806, allocations: 16.8 MB / 0.5846 GB, free: 14.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.5807, allocations: 200.8 kB / 0.5847 GB, free: 13.8 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.5843, allocations: 5.591 MB / 0.5902 GB, free: 8.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.5845, allocations: 89.69 kB / 0.5903 GB, free: 8.387 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.5862, allocations: 5.875 MB / 0.596 GB, free: 2.754 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008499/0.5871, allocations: 1.663 MB / 0.5976 GB, free: 1.078 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/0.589, allocations: 2.298 MB / 0.5999 GB, free: 14.77 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5891, allocations: 476.8 kB / 0.6003 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.591, allocations: 1.305 MB / 0.6016 GB, free: 12.99 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00595/0.5969, allocations: 10.16 MB / 0.6115 GB, free: 14.88 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009554/0.6065, allocations: 12.46 MB / 0.6237 GB, free: 14.47 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.678e-05/0.6066, allocations: 63.94 kB / 0.6238 GB, free: 14.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.0145/0.6211, allocations: 9.49 MB / 0.633 GB, free: 4.891 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.104e-05/0.6212, allocations: 96 kB / 0.6331 GB, free: 4.797 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.6213, allocations: 208 kB / 0.6333 GB, free: 4.594 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003728/0.6251, allocations: 1.473 MB / 0.6348 GB, free: 3.117 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/0.6291, allocations: 2.332 MB / 0.637 GB, free: 0.7812 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/0.6367, allocations: 5.509 MB / 0.6424 GB, free: 11.16 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/0.6417, allocations: 431.8 kB / 0.6428 GB, free: 10.73 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/0.6422, allocations: 0.5156 MB / 0.6433 GB, free: 10.22 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.00229/0.6445, allocations: 0.9963 MB / 0.6443 GB, free: 9.207 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/0.6455, allocations: 0.6876 MB / 0.645 GB, free: 8.516 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006528/0.652, allocations: 3.741 MB / 0.6486 GB, free: 4.727 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/0.6521, allocations: 63.98 kB / 0.6487 GB, free: 4.664 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.6521, allocations: 8 kB / 0.6487 GB, free: 4.656 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.6521, allocations: 23.92 kB / 0.6487 GB, free: 4.633 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.6707, allocations: 11.92 MB / 0.6604 GB, free: 8.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.6707, allocations: 20.06 kB / 0.6604 GB, free: 8.301 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.6721, allocations: 0.55 MB / 0.6609 GB, free: 7.746 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/0.6753, allocations: 1.066 MB / 0.662 GB, free: 6.676 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.6754, allocations: 87.98 kB / 0.6621 GB, free: 6.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005511/0.6809, allocations: 4.078 MB / 0.666 GB, free: 2.398 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.681, allocations: 23.94 kB / 0.6661 GB, free: 2.375 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1841/0.865, allocations: 5.417 MB / 0.6713 GB, free: 159.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/0.8667, allocations: 0.5517 MB / 0.6719 GB, free: 159.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007958/0.8675, allocations: 89.86 kB / 0.672 GB, free: 159.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.8693, allocations: 82.06 kB / 0.6721 GB, free: 159.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/0.8698, allocations: 293.5 kB / 0.6723 GB, free: 159.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/0.87, allocations: 91.81 kB / 0.6724 GB, free: 159.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002802/0.8728, allocations: 2.237 MB / 0.6746 GB, free: 159.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8728, allocations: 0 / 0.6746 GB, free: 159.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006853/0.8797, allocations: 2.118 MB / 0.6767 GB, free: 159.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.000707/0.8804, allocations: 314.5 kB / 0.677 GB, free: 159.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006512/0.8869, allocations: 5.416 MB / 0.6823 GB, free: 159 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.8869, allocations: 0 / 0.6823 GB, free: 159 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.8888, allocations: 1.604 MB / 0.6838 GB, free: 158.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.8919, allocations: 0.7219 MB / 0.6845 GB, free: 158.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.9123, allocations: 14.58 MB / 0.6988 GB, free: 149.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.9154, allocations: 2.342 MB / 0.7011 GB, free: 148.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002997/0.9184, allocations: 0.8728 MB / 0.7019 GB, free: 147.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.92, allocations: 0.9797 MB / 0.7029 GB, free: 147 MB / 490.8 MB Notification: Performance of SimCode: time 2.053e-06/0.92, allocations: 0 / 0.7029 GB, free: 147 MB / 490.8 MB Notification: Performance of Templates: time 0.09232/1.012, allocations: 73.02 MB / 0.7742 GB, free: 76.93 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: 6.0017149010673165]