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.0009886/0.0009886, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008444/0.008445, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.88/1.88, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.433/0.433, allocations: 40 MB / 310.7 MB, free: 9.621 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.0005646/0.0005645, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1578, allocations: 57.95 MB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3812/0.539, allocations: 56.76 MB / 494.2 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03557/0.5747, allocations: 12.23 MB / 0.4945 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01887/0.5936, allocations: 248.8 kB / 0.4948 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.5977, allocations: 0.6721 MB / 0.4954 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.6077, allocations: 2.613 MB / 0.498 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.6116, allocations: 1.158 MB / 0.4991 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02097/0.6326, allocations: 10.53 MB / 0.5094 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01726/0.6499, allocations: 7.843 MB / 0.5171 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008962/0.6589, allocations: 2 MB / 0.519 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008622/0.6676, allocations: 3.541 MB / 0.5225 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002312/0.67, allocations: 263.2 kB / 0.5227 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005334/0.6753, allocations: 1.496 MB / 0.5242 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005358/0.6807, allocations: 2.971 MB / 0.5271 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008629/0.6893, allocations: 3.378 MB / 0.5304 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02137/0.7107, allocations: 11.47 MB / 0.5416 GB, free: 12.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.7108, allocations: 0 / 0.5416 GB, free: 12.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.609e-06/0.7108, allocations: 0 / 0.5416 GB, free: 12.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007354/0.7116, allocations: 0 / 0.5416 GB, free: 12.76 MB / 414.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.02059/0.7322, allocations: 6.464 MB / 0.5479 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.7323, allocations: 8.031 kB / 0.5479 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.7501, allocations: 4.035 MB / 0.5518 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.7616, allocations: 4.409 MB / 0.5561 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/0.762, allocations: 398 kB / 0.5565 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/0.7649, allocations: 0.5502 MB / 0.5571 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04266/0.8076, allocations: 18.93 MB / 0.5755 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.808, allocations: 75.3 kB / 0.5756 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/0.8093, allocations: 255.7 kB / 0.5759 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005752/0.815, allocations: 3.428 MB / 0.5792 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04093/0.856, allocations: 16.67 MB / 0.5955 GB, free: 4.332 MB / 462.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.4285/1.285, allocations: 66.89 MB / 0.6608 GB, free: 96.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01498/1.3, allocations: 6.276 MB / 0.6669 GB, free: 95.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004031/1.304, allocations: 2.82 MB / 0.6697 GB, free: 94.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02462/1.328, allocations: 13.82 MB / 0.6832 GB, free: 87.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.328, allocations: 70.31 kB / 0.6832 GB, free: 87.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.582e-06/1.328, allocations: 0 / 0.6832 GB, free: 87.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.09885/1.427, allocations: 25.29 MB / 0.7079 GB, free: 79.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.427, allocations: 191.2 kB / 0.7081 GB, free: 79.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008137/1.436, allocations: 5.923 MB / 0.7139 GB, free: 76.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006271/1.436, allocations: 72.61 kB / 0.714 GB, free: 76.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.439, allocations: 4.952 MB / 0.7188 GB, free: 73.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001642/1.441, allocations: 1.281 MB / 0.7201 GB, free: 72.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.442, allocations: 0.8179 MB / 0.7209 GB, free: 71.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/1.442, allocations: 312.8 kB / 0.7212 GB, free: 71.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00481/1.447, allocations: 3.353 MB / 0.7244 GB, free: 70.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007918/1.455, allocations: 8.87 MB / 0.7331 GB, free: 61.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/1.468, allocations: 13.19 MB / 0.746 GB, free: 45.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001998/1.468, allocations: 56 kB / 0.746 GB, free: 45.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02992/1.498, allocations: 13 MB / 0.7587 GB, free: 32.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/1.498, allocations: 91.59 kB / 0.7588 GB, free: 32.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/1.499, allocations: 196 kB / 0.759 GB, free: 32.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004178/1.503, allocations: 1.322 MB / 0.7603 GB, free: 31.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007396/1.51, allocations: 2.211 MB / 0.7625 GB, free: 28.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.521, allocations: 7.282 MB / 0.7696 GB, free: 21.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008177/1.529, allocations: 0.5102 MB / 0.7701 GB, free: 20.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002719/1.532, allocations: 0.5508 MB / 0.7706 GB, free: 20.39 MB / 494.1 MB 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.009077/1.541, allocations: 3.454 MB / 0.774 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.543, allocations: 0.5283 MB / 0.7745 GB, free: 16.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.556, allocations: 5.408 MB / 0.7798 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.707e-05/1.556, allocations: 40 kB / 0.7798 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/1.556, allocations: 4 kB / 0.7798 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/1.556, allocations: 15.95 kB / 0.7798 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03757/1.594, allocations: 14.02 MB / 0.7935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/1.594, allocations: 12.88 kB / 0.7935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.597, allocations: 0.4914 MB / 0.794 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/1.6, allocations: 0.8201 MB / 0.7948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004465/1.601, allocations: 75.11 kB / 0.7949 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009936/1.611, allocations: 5.33 MB / 0.8001 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-05/1.611, allocations: 25.56 kB / 0.8001 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.629, allocations: 8.287 MB / 0.8082 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003219/1.632, allocations: 0.9361 MB / 0.8091 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.634, allocations: 67.98 kB / 0.8092 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/1.637, allocations: 135.9 kB / 0.8093 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006273/1.637, allocations: 224.7 kB / 0.8095 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003004/1.638, allocations: 100 kB / 0.8096 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.009261/1.647, allocations: 3.678 MB / 0.8132 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.02e-07/1.647, allocations: 0 / 0.8132 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0135/1.661, allocations: 1.652 MB / 0.8148 GB, free: 6.406 MB / 0.5137 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.001348/1.662, allocations: 265.5 kB / 0.8151 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2679/1.93, allocations: 7.883 MB / 0.8228 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.331e-05/1.93, allocations: 3.031 kB / 0.8228 GB, free: 154 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004091/1.934, allocations: 2.373 MB / 0.8251 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01413/1.948, allocations: 0.6837 MB / 0.8258 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/1.985, allocations: 18.96 MB / 0.8443 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/1.996, allocations: 5.177 MB / 0.8493 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009487/2.006, allocations: 2.965 MB / 0.8522 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/2.008, allocations: 383.1 kB / 0.8526 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of SimCode: time 4.358e-06/2.008, allocations: 0 / 0.8526 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1444/2.152, allocations: 57.99 MB / 0.9092 GB, free: 113.1 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: