Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001895/0.001895, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.002694/0.002694, allocations: 157.7 kB / 23.51 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2608/0.2608, allocations: 32.37 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.806e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01794/0.01797, allocations: 15.48 MB / 362.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.03491, allocations: 5.415 MB / 367.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.03938, allocations: 131.4 kB / 367.9 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.05022, allocations: 4.773 MB / 372.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.06121, allocations: 3.239 MB / 376 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.0659, allocations: 1.708 MB / 377.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01646/0.08236, allocations: 9.878 MB / 387.5 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.09512, allocations: 6.466 MB / 394 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.108, allocations: 4.709 MB / 398.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009965/0.118, allocations: 4.911 MB / 403.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.1202, allocations: 0.6836 MB / 404.3 MB, free: 184 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.1248, allocations: 1.838 MB / 406.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005908/0.1307, allocations: 4.032 MB / 410.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006291/0.137, allocations: 2.52 MB / 412.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02041/0.1574, allocations: 13.91 MB / 426.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1574, allocations: 0 / 426.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1574, allocations: 0 / 426.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004708/0.1579, allocations: 0 / 426.6 MB, free: 9.816 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.02418/0.1821, allocations: 9.349 MB / 436 MB, free: 392 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1821, allocations: 8.031 kB / 436 MB, free: 384 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.308/0.4902, allocations: 5.391 MB / 441.4 MB, free: 86.45 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01133/0.5015, allocations: 5.221 MB / 446.6 MB, free: 83.39 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.5018, allocations: 435.6 kB / 447 MB, free: 83.04 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.5042, allocations: 0.6039 MB / 447.6 MB, free: 82.5 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03535/0.5396, allocations: 20.8 MB / 468.4 MB, free: 60.78 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.5398, allocations: 79.39 kB / 468.5 MB, free: 60.7 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009078/0.5407, allocations: 274.9 kB / 468.7 MB, free: 60.5 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004265/0.545, allocations: 3.711 MB / 472.5 MB, free: 56.8 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03254/0.5775, allocations: 18.27 MB / 490.7 MB, free: 38.56 MB / 362.8 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.104/0.6815, allocations: 70.41 MB / 0.548 GB, free: 14.75 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/0.7017, allocations: 6.526 MB / 0.5544 GB, free: 8.191 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007211/0.7089, allocations: 3.875 MB / 0.5581 GB, free: 4.301 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04037/0.7492, allocations: 15.3 MB / 0.5731 GB, free: 5.121 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.7494, allocations: 64.62 kB / 0.5732 GB, free: 5.047 MB / 426.8 MB Notification: Performance of pre-optimization done (n=339): time 8.646e-06/0.7494, allocations: 3.938 kB / 0.5732 GB, free: 5.043 MB / 426.8 MB Notification: Performance of matching and sorting (n=429): time 0.3593/1.109, allocations: 38.61 MB / 0.6109 GB, free: 146.3 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/1.109, allocations: 194.7 kB / 0.611 GB, free: 146.1 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.119, allocations: 6.641 MB / 0.6175 GB, free: 143.8 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.12, allocations: 88.98 kB / 0.6176 GB, free: 143.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.123, allocations: 5.55 MB / 0.623 GB, free: 139.8 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002106/1.125, allocations: 1.625 MB / 0.6246 GB, free: 138.5 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003154/1.129, allocations: 2.105 MB / 0.6267 GB, free: 137.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/1.129, allocations: 305.1 kB / 0.627 GB, free: 137.2 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006385/1.135, allocations: 4.464 MB / 0.6313 GB, free: 133.2 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009439/1.144, allocations: 10.4 MB / 0.6415 GB, free: 120 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/1.161, allocations: 15.91 MB / 0.657 GB, free: 101.3 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002144/1.161, allocations: 60 kB / 0.6571 GB, free: 101.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=1414) (initialization): time 0.03439/1.196, allocations: 17.16 MB / 0.6738 GB, free: 84.04 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003953/1.196, allocations: 92 kB / 0.6739 GB, free: 83.95 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005184/1.197, allocations: 212.2 kB / 0.6741 GB, free: 83.74 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009807/1.206, allocations: 2.872 MB / 0.6769 GB, free: 80.88 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00858/1.215, allocations: 2.476 MB / 0.6794 GB, free: 78.39 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/1.235, allocations: 13 MB / 0.692 GB, free: 65.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/1.246, allocations: 0.7527 MB / 0.6928 GB, free: 64.55 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003665/1.25, allocations: 0.6016 MB / 0.6934 GB, free: 63.95 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 937 * 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 (1313): * Single equations (assignments): 1306 * 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.009981/1.259, allocations: 3.772 MB / 0.6971 GB, free: 60.16 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003004/1.263, allocations: 0.6991 MB / 0.6977 GB, free: 59.46 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/1.282, allocations: 8.628 MB / 0.7062 GB, free: 50.79 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.99e-05/1.282, allocations: 67.92 kB / 0.7062 GB, free: 50.72 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.952e-05/1.282, allocations: 12 kB / 0.7062 GB, free: 50.71 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.904e-05/1.282, allocations: 19.94 kB / 0.7063 GB, free: 50.69 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.044/1.326, allocations: 17.7 MB / 0.7235 GB, free: 32.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.975e-05/1.326, allocations: 16 kB / 0.7236 GB, free: 32.78 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/1.329, allocations: 0.6553 MB / 0.7242 GB, free: 32.12 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008499/1.338, allocations: 2.123 MB / 0.7263 GB, free: 30 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001063/1.339, allocations: 91.53 kB / 0.7264 GB, free: 29.91 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/1.355, allocations: 10.36 MB / 0.7365 GB, free: 19.45 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/1.355, allocations: 27.94 kB / 0.7365 GB, free: 19.42 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02412/1.379, allocations: 12.83 MB / 0.749 GB, free: 6.258 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004545/1.384, allocations: 1.152 MB / 0.7502 GB, free: 5.102 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/1.386, allocations: 87.98 kB / 0.7502 GB, free: 5.016 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005406/1.392, allocations: 327.2 kB / 0.7505 GB, free: 4.699 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/1.393, allocations: 301.1 kB / 0.7508 GB, free: 4.402 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006197/1.394, allocations: 120 kB / 0.751 GB, free: 4.285 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.2382/1.632, allocations: 3.928 MB / 0.7548 GB, free: 133.1 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.71e-07/1.632, allocations: 0 / 0.7548 GB, free: 133.1 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01192/1.644, allocations: 2.184 MB / 0.7569 GB, free: 133.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (343): * Single equations (assignments): 336 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/1.645, allocations: 320.4 kB / 0.7572 GB, free: 133 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01782/1.663, allocations: 9.874 MB / 0.7669 GB, free: 130.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.516e-05/1.663, allocations: 2.688 kB / 0.7669 GB, free: 130.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005507/1.668, allocations: 3.187 MB / 0.77 GB, free: 129.3 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/1.674, allocations: 0.7383 MB / 0.7707 GB, free: 129 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03332/1.707, allocations: 18.38 MB / 0.7887 GB, free: 117.3 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008874/1.716, allocations: 5.144 MB / 0.7937 GB, free: 113.5 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.008634/1.725, allocations: 3.303 MB / 0.7969 GB, free: 111.5 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/1.727, allocations: 411.2 kB / 0.7973 GB, free: 111.1 MB / 442.8 MB Notification: Performance of SimCode: time 1.623e-06/1.727, allocations: 0 / 0.7973 GB, free: 111.1 MB / 442.8 MB Notification: Performance of Templates: time 0.1144/1.841, allocations: 67.75 MB / 0.8635 GB, free: 43.9 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.502052052994259]