Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005621/0.005621, allocations: 98.48 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 193 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4238/0.4238, allocations: 39.94 MB / 309.8 MB, free: 9.426 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.89 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.411, allocations: 56.88 MB / 492.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01984/0.4309, allocations: 17.79 MB / 0.4985 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01685/0.4478, allocations: 5.666 MB / 0.504 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006729/0.4546, allocations: 111.4 kB / 0.5041 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.4656, allocations: 4.587 MB / 0.5086 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01292/0.4786, allocations: 3.03 MB / 0.5115 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005873/0.4845, allocations: 1.489 MB / 0.513 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01897/0.5035, allocations: 8.611 MB / 0.5214 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.5146, allocations: 6.462 MB / 0.5277 GB, free: 476 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009673/0.5244, allocations: 3.03 MB / 0.5307 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009173/0.5336, allocations: 4.284 MB / 0.5349 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003643/0.5373, allocations: 0.6602 MB / 0.5355 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006928/0.5443, allocations: 1.845 MB / 0.5373 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00813/0.5524, allocations: 3.733 MB / 0.541 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01332/0.5658, allocations: 4.218 MB / 0.5451 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02579/0.5916, allocations: 13.64 MB / 0.5584 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.5917, allocations: 0 / 0.5584 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5917, allocations: 3.938 kB / 0.5584 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005461/0.5923, allocations: 3.938 kB / 0.5584 GB, free: 0.9336 MB / 430.1 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.03175/0.624, allocations: 9.273 MB / 0.5675 GB, free: 7.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.6241, allocations: 11.89 kB / 0.5675 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.643, allocations: 4.149 MB / 0.5715 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.6583, allocations: 5.403 MB / 0.5768 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005645/0.6589, allocations: 430.9 kB / 0.5772 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0038/0.6627, allocations: 0.5972 MB / 0.5778 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04804/0.7108, allocations: 20.62 MB / 0.5979 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002622/0.7111, allocations: 79.34 kB / 0.598 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009113/0.712, allocations: 275.7 kB / 0.5983 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006201/0.7182, allocations: 3.71 MB / 0.6019 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04248/0.7607, allocations: 18.21 MB / 0.6197 GB, free: 0.832 MB / 494.1 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.7069/1.468, allocations: 74.42 MB / 0.6924 GB, free: 68.27 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/1.486, allocations: 7.452 MB / 0.6996 GB, free: 64.01 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005901/1.492, allocations: 4.112 MB / 0.7036 GB, free: 61.89 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02943/1.521, allocations: 18.24 MB / 0.7215 GB, free: 50.04 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.522, allocations: 67.72 kB / 0.7215 GB, free: 49.97 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=335): time 7.104e-06/1.522, allocations: 0 / 0.7215 GB, free: 49.97 MB / 0.4982 GB Notification: Performance of matching and sorting (n=419): time 0.1102/1.632, allocations: 35.51 MB / 0.7562 GB, free: 15.36 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.632, allocations: 200.7 kB / 0.7564 GB, free: 15.12 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009956/1.642, allocations: 6.532 MB / 0.7628 GB, free: 8.723 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/1.643, allocations: 83.81 kB / 0.7629 GB, free: 8.637 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00322/1.646, allocations: 5.587 MB / 0.7683 GB, free: 3.355 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002011/1.648, allocations: 1.616 MB / 0.7699 GB, free: 1.727 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002821/1.651, allocations: 2.148 MB / 0.772 GB, free: 15.57 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.651, allocations: 305.1 kB / 0.7723 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006789/1.658, allocations: 4.335 MB / 0.7765 GB, free: 10.93 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.67, allocations: 10.28 MB / 0.7865 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02055/1.69, allocations: 15.68 MB / 0.8019 GB, free: 11.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/1.691, allocations: 60 kB / 0.8019 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03955/1.73, allocations: 16.37 MB / 0.8179 GB, free: 10.69 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003847/1.73, allocations: 99.94 kB / 0.818 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004991/1.731, allocations: 204 kB / 0.8182 GB, free: 10.39 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008376/1.739, allocations: 2.389 MB / 0.8205 GB, free: 8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.75, allocations: 2.453 MB / 0.8229 GB, free: 5.543 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/1.773, allocations: 12.75 MB / 0.8354 GB, free: 8.645 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/1.784, allocations: 0.5931 MB / 0.8359 GB, free: 8.051 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002722/1.786, allocations: 0.5937 MB / 0.8365 GB, free: 7.457 MB / 0.5763 GB 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 (1316): * Single equations (assignments): 1309 * 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.01038/1.797, allocations: 3.781 MB / 0.8402 GB, free: 3.66 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002415/1.799, allocations: 0.6247 MB / 0.8408 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02164/1.821, allocations: 8.334 MB / 0.849 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001171/1.821, allocations: 60 kB / 0.849 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.914e-05/1.821, allocations: 8 kB / 0.849 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.821, allocations: 19.92 kB / 0.849 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4222/2.243, allocations: 18.87 MB / 0.8675 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.999e-05/2.243, allocations: 13.75 kB / 0.8675 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003527/2.247, allocations: 0.625 MB / 0.8681 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007502/2.255, allocations: 1.813 MB / 0.8699 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009482/2.256, allocations: 81.27 kB / 0.8699 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/2.273, allocations: 10.82 MB / 0.8805 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/2.273, allocations: 25.81 kB / 0.8805 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02359/2.297, allocations: 12.49 MB / 0.8927 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004241/2.301, allocations: 1.193 MB / 0.8939 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/2.303, allocations: 74.22 kB / 0.894 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/2.306, allocations: 205.9 kB / 0.8942 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/2.306, allocations: 263.1 kB / 0.8944 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/2.306, allocations: 117 kB / 0.8945 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006939/2.313, allocations: 4.05 MB / 0.8985 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/2.313, allocations: 2.625 kB / 0.8985 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01215/2.326, allocations: 1.96 MB / 0.9004 GB, free: 182.9 MB / 0.5919 GB 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.001375/2.327, allocations: 291.7 kB / 0.9007 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01582/2.343, allocations: 10.19 MB / 0.9106 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/2.343, allocations: 0 / 0.9106 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004646/2.348, allocations: 3.397 MB / 0.914 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/2.353, allocations: 0.8004 MB / 0.9147 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/2.382, allocations: 17.96 MB / 0.9323 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006513/2.388, allocations: 5.598 MB / 0.9377 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007189/2.395, allocations: 3.327 MB / 0.941 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/2.397, allocations: 415.4 kB / 0.9414 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.893e-06/2.397, allocations: 0 / 0.9414 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1085/2.505, allocations: 69.82 MB / 1.01 GB, free: 77.41 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)