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.001342/0.001342, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001335/0.001335, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.97/0.97, allocations: 177.2 MB / 205 MB, free: 5.273 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.2866/0.2866, allocations: 32.79 MB / 294.3 MB, free: 1.227 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.744e-06/1.744e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.028e-05, allocations: 9.344 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01527/0.0153, allocations: 16.99 MB / 393 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.02748, allocations: 5.605 MB / 398.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.03067, allocations: 135.4 kB / 398.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005891/0.03656, allocations: 4.91 MB / 403.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00703/0.04359, allocations: 3.176 MB / 406.8 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.04643, allocations: 1.708 MB / 408.5 MB, free: 4.016 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.05747, allocations: 10.3 MB / 418.8 MB, free: 9.699 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008041/0.06551, allocations: 6.458 MB / 425.3 MB, free: 3.164 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008474/0.07399, allocations: 4.697 MB / 430 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006802/0.08079, allocations: 4.985 MB / 435 MB, free: 9.461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001782/0.08257, allocations: 0.6797 MB / 435.7 MB, free: 8.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.08568, allocations: 1.834 MB / 437.5 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003605/0.08929, allocations: 3.99 MB / 441.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003535/0.09282, allocations: 2.485 MB / 444 MB, free: 464 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1889/0.2818, allocations: 8.766 MB / 452.7 MB, free: 64.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2818, allocations: 0 / 452.7 MB, free: 64.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2818, allocations: 0 / 452.7 MB, free: 64.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006127/0.2824, allocations: 3.125 kB / 452.7 MB, free: 64.48 MB / 410.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.01752/0.2999, allocations: 9.872 MB / 462.6 MB, free: 61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2999, allocations: 10 kB / 462.6 MB, free: 61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.3127, allocations: 5.224 MB / 467.8 MB, free: 60.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.3234, allocations: 4.528 MB / 472.4 MB, free: 59.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.3238, allocations: 429.6 kB / 472.8 MB, free: 59.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002585/0.3264, allocations: 0.6026 MB / 473.4 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/0.3524, allocations: 12.31 MB / 485.7 MB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004239/0.3529, allocations: 77.3 kB / 485.8 MB, free: 53.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009169/0.3538, allocations: 270.8 kB / 486 MB, free: 53.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004363/0.3581, allocations: 3.716 MB / 489.8 MB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.3792, allocations: 7.251 MB / 497 MB, free: 51.91 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.08309/0.4623, allocations: 78.28 MB / 0.5618 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.4728, allocations: 3.967 MB / 0.5657 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/0.4757, allocations: 1.368 MB / 0.567 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01737/0.493, allocations: 10.32 MB / 0.5771 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.4931, allocations: 75.06 kB / 0.5772 GB, free: 15.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=335): time 5.991e-06/0.4931, allocations: 0 / 0.5772 GB, free: 15.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=419): time 0.05382/0.5469, allocations: 23.79 MB / 0.6004 GB, free: 8.086 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.547, allocations: 192.9 kB / 0.6006 GB, free: 7.859 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007584/0.5546, allocations: 5.62 MB / 0.6061 GB, free: 2.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008936/0.5555, allocations: 88.83 kB / 0.6062 GB, free: 2.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1712/0.7267, allocations: 5.801 MB / 0.6118 GB, free: 126.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/0.7286, allocations: 1.656 MB / 0.6134 GB, free: 125.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003423/0.732, allocations: 2.241 MB / 0.6156 GB, free: 125.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.7321, allocations: 476.8 kB / 0.6161 GB, free: 124.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.7356, allocations: 1.458 MB / 0.6175 GB, free: 124.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007303/0.7429, allocations: 10.23 MB / 0.6275 GB, free: 113.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/0.7558, allocations: 12.89 MB / 0.6401 GB, free: 102.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002967/0.7561, allocations: 58.56 kB / 0.6401 GB, free: 102.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02245/0.7785, allocations: 10.61 MB / 0.6505 GB, free: 101 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.7787, allocations: 93.34 kB / 0.6506 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002963/0.779, allocations: 208.1 kB / 0.6508 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/0.7842, allocations: 1.881 MB / 0.6526 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006091/0.7902, allocations: 2.461 MB / 0.655 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.7987, allocations: 6.058 MB / 0.6609 GB, free: 97.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/0.8052, allocations: 0.6987 MB / 0.6616 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/0.8069, allocations: 0.5984 MB / 0.6622 GB, free: 97 MB / 474.7 MB 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 (1312): * Single equations (assignments): 1305 * 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.003239/0.8101, allocations: 0.9943 MB / 0.6632 GB, free: 96.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.8113, allocations: 0.6828 MB / 0.6638 GB, free: 95.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/0.8188, allocations: 4.376 MB / 0.6681 GB, free: 94.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-05/0.8189, allocations: 63.91 kB / 0.6682 GB, free: 94.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.8189, allocations: 15.34 kB / 0.6682 GB, free: 94.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/0.8189, allocations: 24.14 kB / 0.6682 GB, free: 94.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/0.8394, allocations: 12.38 MB / 0.6803 GB, free: 89.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.8394, allocations: 16.25 kB / 0.6803 GB, free: 89.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.8409, allocations: 0.6241 MB / 0.6809 GB, free: 88.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003903/0.8448, allocations: 1.409 MB / 0.6823 GB, free: 87.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/0.8452, allocations: 83.52 kB / 0.6824 GB, free: 87.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/0.8521, allocations: 5.136 MB / 0.6874 GB, free: 83.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.8521, allocations: 19.94 kB / 0.6874 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009696/0.8618, allocations: 6.186 MB / 0.6935 GB, free: 77.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.8633, allocations: 0.5745 MB / 0.694 GB, free: 76.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/0.8639, allocations: 74.64 kB / 0.6941 GB, free: 76.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.8654, allocations: 281.4 kB / 0.6944 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.8659, allocations: 285.6 kB / 0.6946 GB, free: 76.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.8661, allocations: 115.5 kB / 0.6948 GB, free: 76.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003142/0.8692, allocations: 2.399 MB / 0.6971 GB, free: 74.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8692, allocations: 0 / 0.6971 GB, free: 74.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006913/0.8761, allocations: 2.126 MB / 0.6992 GB, free: 72.32 MB / 474.7 MB 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.0007069/0.8768, allocations: 305.3 kB / 0.6995 GB, free: 72.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008724/0.8856, allocations: 5.878 MB / 0.7052 GB, free: 66.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.8856, allocations: 4 kB / 0.7052 GB, free: 66.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002365/0.8879, allocations: 1.785 MB / 0.7069 GB, free: 65.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/0.891, allocations: 0.7246 MB / 0.7077 GB, free: 64.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/0.9133, allocations: 14.68 MB / 0.722 GB, free: 50.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/0.916, allocations: 2.341 MB / 0.7243 GB, free: 48.37 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004587/0.9206, allocations: 2.732 MB / 0.7269 GB, free: 45.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.9217, allocations: 408.4 kB / 0.7273 GB, free: 45.23 MB / 474.7 MB Notification: Performance of SimCode: time 2.364e-06/0.9217, allocations: 0 / 0.7273 GB, free: 45.23 MB / 474.7 MB Notification: Performance of Templates: time 0.2517/1.173, allocations: 65.88 MB / 0.7917 GB, free: 127.5 MB / 490.7 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.743776116054505]