Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0063/0.0063, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001478/0.001479, allocations: 197 kB / 16.67 MB, free: 5.977 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.68/1.68, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3605/0.3605, allocations: 39.94 MB / 309.8 MB, free: 9.344 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.001674/0.001674, allocations: 71.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3886, allocations: 56.87 MB / 492.6 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01797/0.4066, allocations: 16.38 MB / 0.4971 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.4221, allocations: 5.302 MB / 0.5023 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005272/0.4274, allocations: 101.1 kB / 0.5024 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008835/0.4363, allocations: 4.172 MB / 0.5064 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.4486, allocations: 2.762 MB / 0.5091 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.4532, allocations: 1.267 MB / 0.5104 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01515/0.4684, allocations: 7.452 MB / 0.5177 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.4792, allocations: 5.871 MB / 0.5234 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008298/0.4876, allocations: 2.687 MB / 0.526 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008811/0.4965, allocations: 3.797 MB / 0.5297 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002826/0.4993, allocations: 0.5976 MB / 0.5303 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005909/0.5053, allocations: 1.752 MB / 0.532 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005473/0.5108, allocations: 3.351 MB / 0.5353 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008925/0.5197, allocations: 3.806 MB / 0.539 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.5397, allocations: 12.38 MB / 0.5511 GB, free: 8.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5398, allocations: 0 / 0.5511 GB, free: 8.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5398, allocations: 0 / 0.5511 GB, free: 8.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004939/0.5403, allocations: 0 / 0.5511 GB, free: 8.453 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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02525/0.5656, allocations: 7.894 MB / 0.5588 GB, free: 484 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.5657, allocations: 19.89 kB / 0.5588 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.5831, allocations: 3.938 MB / 0.5627 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.5961, allocations: 4.463 MB / 0.567 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/0.5966, allocations: 405.9 kB / 0.5674 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/0.6004, allocations: 0.5503 MB / 0.568 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04675/0.6472, allocations: 18.87 MB / 0.5864 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002538/0.6475, allocations: 71.3 kB / 0.5865 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.6486, allocations: 251.7 kB / 0.5867 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005566/0.6542, allocations: 3.432 MB / 0.59 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04067/0.6949, allocations: 16.63 MB / 0.6063 GB, free: 14.7 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.841/1.536, allocations: 66.61 MB / 0.6713 GB, free: 80 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.554, allocations: 6.266 MB / 0.6775 GB, free: 77.45 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005051/1.559, allocations: 2.827 MB / 0.6802 GB, free: 76.38 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02704/1.586, allocations: 13.87 MB / 0.6938 GB, free: 68.89 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.559e-05/1.586, allocations: 61.19 kB / 0.6938 GB, free: 68.84 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=284): time 7.193e-06/1.586, allocations: 0 / 0.6938 GB, free: 68.84 MB / 0.4982 GB Notification: Performance of matching and sorting (n=345): time 0.08429/1.67, allocations: 25.08 MB / 0.7183 GB, free: 56 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/1.671, allocations: 192.3 kB / 0.7185 GB, free: 55.77 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008047/1.679, allocations: 5.912 MB / 0.7243 GB, free: 49.88 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006473/1.679, allocations: 73.7 kB / 0.7243 GB, free: 49.8 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.682, allocations: 4.961 MB / 0.7292 GB, free: 44.84 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.683, allocations: 1.284 MB / 0.7304 GB, free: 43.57 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/1.685, allocations: 1.908 MB / 0.7323 GB, free: 41.65 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/1.685, allocations: 305.1 kB / 0.7326 GB, free: 41.35 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/1.69, allocations: 3.357 MB / 0.7359 GB, free: 37.98 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00813/1.698, allocations: 8.873 MB / 0.7445 GB, free: 26.41 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/1.712, allocations: 13.18 MB / 0.7574 GB, free: 10.48 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002052/1.712, allocations: 56.28 kB / 0.7575 GB, free: 10.43 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02761/1.739, allocations: 13 MB / 0.7702 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003625/1.74, allocations: 88.09 kB / 0.7702 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004706/1.74, allocations: 199.9 kB / 0.7704 GB, free: 13.11 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004765/1.745, allocations: 1.326 MB / 0.7717 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008728/1.754, allocations: 2.203 MB / 0.7739 GB, free: 9.57 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.769, allocations: 7.853 MB / 0.7815 GB, free: 1.582 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008905/1.778, allocations: 0.4994 MB / 0.782 GB, free: 1.082 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002431/1.78, allocations: 0.5504 MB / 0.7826 GB, free: 0.5352 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009289/1.789, allocations: 3.458 MB / 0.7859 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.791, allocations: 0.5245 MB / 0.7865 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/1.805, allocations: 5.408 MB / 0.7917 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/1.805, allocations: 36 kB / 0.7918 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.805, allocations: 8 kB / 0.7918 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.666e-05/1.805, allocations: 15.94 kB / 0.7918 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03836/1.843, allocations: 13.92 MB / 0.8054 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-05/1.843, allocations: 16 kB / 0.8054 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/1.846, allocations: 0.4922 MB / 0.8059 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003449/1.849, allocations: 0.8205 MB / 0.8067 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005393/1.85, allocations: 68 kB / 0.8067 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/1.86, allocations: 5.8 MB / 0.8124 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/1.86, allocations: 19.94 kB / 0.8124 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.878, allocations: 8.294 MB / 0.8205 GB, free: 8.926 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005277/1.883, allocations: 0.9198 MB / 0.8214 GB, free: 7.98 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002377/1.886, allocations: 60 kB / 0.8215 GB, free: 7.922 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/1.89, allocations: 135.9 kB / 0.8216 GB, free: 7.789 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009114/1.89, allocations: 221.4 kB / 0.8218 GB, free: 7.574 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004652/1.891, allocations: 107.8 kB / 0.8219 GB, free: 7.473 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01042/1.901, allocations: 3.678 MB / 0.8255 GB, free: 3.824 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.41e-07/1.901, allocations: 3.938 kB / 0.8255 GB, free: 3.82 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01259/1.914, allocations: 1.645 MB / 0.8271 GB, free: 2.184 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/1.915, allocations: 260.3 kB / 0.8274 GB, free: 1.93 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01611/1.931, allocations: 7.944 MB / 0.8351 GB, free: 10 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-05/1.931, allocations: 4 kB / 0.8351 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/1.936, allocations: 2.388 MB / 0.8375 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/1.942, allocations: 0.6891 MB / 0.8381 GB, free: 6.914 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/1.979, allocations: 15.24 MB / 0.853 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008747/1.987, allocations: 5.169 MB / 0.8581 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.3314/2.319, allocations: 2.971 MB / 0.861 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002686/2.322, allocations: 385.4 kB / 0.8613 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of SimCode: time 2.435e-06/2.322, allocations: 0 / 0.8613 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.12/2.442, allocations: 56 MB / 0.916 GB, free: 169.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)