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.001029/0.001029, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004972/0.006001, allocations: 449.8 kB / 10.44 MB, free: 252 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.001027/0.001027, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.00263, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9907/0.9907, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09891/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2514/0.2514, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02887/0.2802, allocations: 13.11 MB / 291.5 MB, free: 7.34 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.663e-06/1.663e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.244e-05, allocations: 4.266 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01291/0.01293, allocations: 16.73 MB / 309.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.02437, allocations: 5.849 MB / 315.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.02756, allocations: 127.4 kB / 315.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.03344, allocations: 4.664 MB / 320.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006793/0.04023, allocations: 3.172 MB / 323.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.04354, allocations: 1.536 MB / 324.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01249/0.05603, allocations: 9.842 MB / 334.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009741/0.06577, allocations: 5.633 MB / 340.4 MB, free: 6.438 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009172/0.07494, allocations: 5.291 MB / 345.7 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006315/0.08126, allocations: 4.649 MB / 350.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.08299, allocations: 0.6641 MB / 351 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.08626, allocations: 1.869 MB / 352.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003396/0.08966, allocations: 3.523 MB / 356.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.09302, allocations: 1.983 MB / 358.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.1038, allocations: 8.037 MB / 366.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.1039, allocations: 7.938 kB / 366.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1039, allocations: 0 / 366.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003509/0.1042, allocations: 0 / 366.4 MB, free: 12.34 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.01462/0.1188, allocations: 9.881 MB / 376.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1189, allocations: 8.031 kB / 376.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006947/0.1258, allocations: 2.299 MB / 378.6 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.1321, allocations: 3.603 MB / 382.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.1324, allocations: 431.3 kB / 382.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.1338, allocations: 0.601 MB / 383.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.155, allocations: 9.561 MB / 392.8 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/0.1553, allocations: 75.33 kB / 392.8 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.1565, allocations: 271.7 kB / 393.1 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003203/0.1597, allocations: 3.16 MB / 396.3 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.1754, allocations: 5.263 MB / 401.5 MB, free: 7.801 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.2509/0.4263, allocations: 55.99 MB / 457.5 MB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.437, allocations: 3.408 MB / 460.9 MB, free: 78.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.4389, allocations: 0.9232 MB / 461.9 MB, free: 78.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/0.4541, allocations: 8.787 MB / 470.6 MB, free: 77.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.4542, allocations: 66.2 kB / 470.7 MB, free: 77.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=334): time 7.814e-06/0.4542, allocations: 0 / 470.7 MB, free: 77.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.04032/0.4945, allocations: 15.22 MB / 485.9 MB, free: 70.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.4945, allocations: 171.2 kB / 486.1 MB, free: 70.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005257/0.4998, allocations: 5.056 MB / 491.2 MB, free: 66.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006396/0.5004, allocations: 87.16 kB / 491.2 MB, free: 66.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.5021, allocations: 5.233 MB / 496.5 MB, free: 61.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/0.5033, allocations: 1.596 MB / 498.1 MB, free: 59.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001736/0.505, allocations: 1.991 MB / 0.4883 GB, free: 57.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.5051, allocations: 305.1 kB / 0.4886 GB, free: 57.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.5073, allocations: 1.548 MB / 0.4901 GB, free: 55.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.5105, allocations: 7.29 MB / 0.4973 GB, free: 45.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006819/0.5173, allocations: 10.42 MB / 0.5074 GB, free: 32.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/0.5174, allocations: 60 kB / 0.5075 GB, free: 32.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.01182/0.5292, allocations: 8.114 MB / 0.5154 GB, free: 24.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/0.5293, allocations: 93.72 kB / 0.5155 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.5295, allocations: 212 kB / 0.5157 GB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/0.533, allocations: 1.469 MB / 0.5171 GB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005835/0.5388, allocations: 2.621 MB / 0.5197 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/0.5449, allocations: 4.691 MB / 0.5243 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00541/0.5503, allocations: 435.7 kB / 0.5247 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.5514, allocations: 0.5156 MB / 0.5252 GB, free: 14.46 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.002799/0.5542, allocations: 0.9527 MB / 0.5261 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008936/0.5551, allocations: 431.5 kB / 0.5265 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/0.5601, allocations: 3.264 MB / 0.5297 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/0.5602, allocations: 55.98 kB / 0.5298 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.5602, allocations: 8 kB / 0.5298 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.5602, allocations: 23.94 kB / 0.5298 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.5769, allocations: 10.18 MB / 0.5398 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.23e-05/0.577, allocations: 27.94 kB / 0.5398 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.5789, allocations: 0.6523 MB / 0.5404 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.5806, allocations: 0.5428 MB / 0.5409 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004097/0.5847, allocations: 1.328 MB / 0.5422 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005218/0.5852, allocations: 83.97 kB / 0.5423 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.5902, allocations: 3.348 MB / 0.5456 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.5902, allocations: 23.88 kB / 0.5456 GB, free: 9.023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/0.5988, allocations: 4.701 MB / 0.5502 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/0.6, allocations: 79.98 kB / 0.5503 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.6017, allocations: 83.98 kB / 0.5504 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/0.6022, allocations: 281.4 kB / 0.5506 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/0.6024, allocations: 99.97 kB / 0.5507 GB, free: 3.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00289/0.6053, allocations: 1.886 MB / 0.5526 GB, free: 1.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6053, allocations: 0 / 0.5526 GB, free: 1.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008352/0.6136, allocations: 2.125 MB / 0.5546 GB, free: 15.41 MB / 458.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.0008715/0.6145, allocations: 299.3 kB / 0.5549 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009211/0.6237, allocations: 5.072 MB / 0.5599 GB, free: 10.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0006281/0.6243, allocations: 174.1 kB / 0.56 GB, free: 9.961 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004506/0.6288, allocations: 2.378 MB / 0.5624 GB, free: 7.551 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006667/0.6355, allocations: 4.746 MB / 0.567 GB, free: 2.137 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02807/0.6636, allocations: 14.64 MB / 0.5813 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003261/0.6668, allocations: 2.322 MB / 0.5836 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003075/0.6699, allocations: 0.847 MB / 0.5844 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/0.6717, allocations: 0.9034 MB / 0.5853 GB, free: 15.07 MB / 490.7 MB Notification: Performance of SimCode: time 2.835e-06/0.6717, allocations: 0 / 0.5853 GB, free: 15.07 MB / 490.7 MB Notification: Performance of Templates: time 0.2425/0.9142, allocations: 70.62 MB / 0.6542 GB, free: 161.7 MB / 0.4949 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: 4.757780786603689]