Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008261/0.0008261, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001889, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007294/0.0007294, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009913/0.001721, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9853/0.9853, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08643/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2713/0.2713, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02653/0.2978, allocations: 13.09 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.577e-05, allocations: 3.188 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01241/0.01243, allocations: 16.73 MB / 309.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009505/0.02193, allocations: 5.845 MB / 315.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.02307, allocations: 131.4 kB / 315.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.02718, allocations: 4.664 MB / 320 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.0309, allocations: 3.165 MB / 323.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.03313, allocations: 1.54 MB / 324.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007263/0.04039, allocations: 9.858 MB / 334.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.04482, allocations: 5.633 MB / 340.2 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.04984, allocations: 5.283 MB / 345.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/0.05408, allocations: 4.657 MB / 350.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.05481, allocations: 0.6641 MB / 350.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.0572, allocations: 1.865 MB / 352.6 MB, free: 10 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.05929, allocations: 3.527 MB / 356.2 MB, free: 6.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.06103, allocations: 1.987 MB / 358.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006281/0.06731, allocations: 8.041 MB / 366.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.06732, allocations: 0 / 366.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06732, allocations: 7.938 kB / 366.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.293e-05/0.0674, allocations: 4 kB / 366.2 MB, free: 12.39 MB / 362.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.009214/0.07661, allocations: 9.881 MB / 376.1 MB, free: 2.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.07664, allocations: 8.031 kB / 376.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.08179, allocations: 2.295 MB / 378.4 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.08583, allocations: 3.603 MB / 382 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.08602, allocations: 427.3 kB / 382.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006963/0.08672, allocations: 0.601 MB / 383 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.0969, allocations: 9.561 MB / 392.6 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.09702, allocations: 75.38 kB / 392.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004413/0.09746, allocations: 271.7 kB / 392.9 MB, free: 328 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.1004, allocations: 3.371 MB / 396.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008457/0.1088, allocations: 5.268 MB / 401.6 MB, free: 7.645 MB / 394.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.2155/0.3243, allocations: 55.96 MB / 457.5 MB, free: 78.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.3312, allocations: 3.43 MB / 460.9 MB, free: 77.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.3323, allocations: 0.9099 MB / 461.9 MB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.3428, allocations: 8.786 MB / 470.6 MB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3428, allocations: 66.89 kB / 470.7 MB, free: 76.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 4.609e-06/0.3428, allocations: 0 / 470.7 MB, free: 76.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.03118/0.374, allocations: 14.83 MB / 485.5 MB, free: 70.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.3741, allocations: 170.7 kB / 485.7 MB, free: 70.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.378, allocations: 5.058 MB / 490.8 MB, free: 66.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.3781, allocations: 81.7 kB / 490.8 MB, free: 66.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.3796, allocations: 5.23 MB / 496.1 MB, free: 61.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007222/0.3804, allocations: 1.594 MB / 497.7 MB, free: 59.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/0.3818, allocations: 1.995 MB / 499.7 MB, free: 57.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.809e-05/0.3818, allocations: 305.9 kB / 500 MB, free: 57.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.3839, allocations: 1.548 MB / 0.4897 GB, free: 55.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.3872, allocations: 7.297 MB / 0.4969 GB, free: 45.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/0.3928, allocations: 9.719 MB / 0.5064 GB, free: 33.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-05/0.3928, allocations: 63.75 kB / 0.5064 GB, free: 33.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.00921/0.402, allocations: 8.111 MB / 0.5143 GB, free: 25.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.4021, allocations: 96 kB / 0.5144 GB, free: 25.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.4022, allocations: 211.4 kB / 0.5146 GB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/0.4058, allocations: 1.45 MB / 0.5161 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/0.4098, allocations: 2.617 MB / 0.5186 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.4152, allocations: 4.695 MB / 0.5232 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.4187, allocations: 435.8 kB / 0.5236 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000413/0.4192, allocations: 0.5117 MB / 0.5241 GB, free: 15.35 MB / 426.7 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.00197/0.4211, allocations: 0.9574 MB / 0.525 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005465/0.4217, allocations: 423.6 kB / 0.5254 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/0.4262, allocations: 3.264 MB / 0.5286 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/0.4262, allocations: 63.98 kB / 0.5287 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4263, allocations: 12 kB / 0.5287 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.4263, allocations: 21.62 kB / 0.5287 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.4378, allocations: 10.2 MB / 0.5387 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.4378, allocations: 12 kB / 0.5387 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.4394, allocations: 0.6436 MB / 0.5393 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/0.4402, allocations: 0.5509 MB / 0.5399 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.4434, allocations: 1.316 MB / 0.5412 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.4436, allocations: 76 kB / 0.5412 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.4486, allocations: 3.352 MB / 0.5445 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/0.4487, allocations: 19.94 kB / 0.5445 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.4553, allocations: 4.678 MB / 0.5491 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006037/0.4559, allocations: 79.98 kB / 0.5492 GB, free: 4.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.4572, allocations: 96 kB / 0.5493 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.4575, allocations: 285.2 kB / 0.5495 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/0.4577, allocations: 91.98 kB / 0.5496 GB, free: 4.316 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002158/0.4598, allocations: 1.889 MB / 0.5515 GB, free: 2.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4598, allocations: 4 kB / 0.5515 GB, free: 2.449 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005983/0.4658, allocations: 2.121 MB / 0.5535 GB, free: 336 kB / 442.7 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.0005313/0.4664, allocations: 299.4 kB / 0.5538 GB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00572/0.4721, allocations: 4.888 MB / 0.5586 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002589/0.4723, allocations: 174.1 kB / 0.5588 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.4738, allocations: 1.38 MB / 0.5601 GB, free: 9.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.477, allocations: 1.57 MB / 0.5616 GB, free: 8.008 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.4991, allocations: 14.65 MB / 0.5759 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/0.5014, allocations: 2.33 MB / 0.5782 GB, free: 6.691 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002551/0.5039, allocations: 0.8587 MB / 0.5791 GB, free: 5.828 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/0.5055, allocations: 0.9229 MB / 0.58 GB, free: 4.902 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5055, allocations: 0 / 0.58 GB, free: 4.902 MB / 474.7 MB Notification: Performance of Templates: time 0.2311/0.7366, allocations: 72.32 MB / 0.6506 GB, free: 167.2 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.034489716403186]