Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007286/0.007286, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001484/0.001484, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1888/0.1888, allocations: 38 MB / 307.9 MB, free: 5.988 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.1. 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.001464/0.001464, allocations: 64.56 kB / 433 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1231, allocations: 56.47 MB / 489.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01684/0.1399, allocations: 16.37 MB / 0.494 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.1553, allocations: 5.319 MB / 0.4992 GB, free: 124 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.1586, allocations: 95.75 kB / 0.4992 GB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007878/0.1665, allocations: 4.166 MB / 0.5033 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009273/0.1759, allocations: 2.774 MB / 0.506 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.1796, allocations: 1.256 MB / 0.5072 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01236/0.1919, allocations: 7.45 MB / 0.5145 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3163/0.5082, allocations: 5.857 MB / 0.5202 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006578/0.5149, allocations: 2.688 MB / 0.5229 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008261/0.5232, allocations: 3.793 MB / 0.5266 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003465/0.5267, allocations: 0.5953 MB / 0.5272 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006493/0.5332, allocations: 1.756 MB / 0.5289 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006748/0.54, allocations: 3.319 MB / 0.5321 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.5513, allocations: 3.809 MB / 0.5358 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02321/0.5746, allocations: 12.39 MB / 0.5479 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5746, allocations: 0 / 0.5479 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5746, allocations: 3.938 kB / 0.5479 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005933/0.5752, allocations: 4 kB / 0.5479 GB, free: 12.68 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.02673/0.602, allocations: 7.899 MB / 0.5556 GB, free: 7.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.022e-05/0.6021, allocations: 14.95 kB / 0.5557 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/0.6198, allocations: 3.943 MB / 0.5595 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.6315, allocations: 4.462 MB / 0.5639 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004232/0.632, allocations: 402.9 kB / 0.5643 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/0.6348, allocations: 0.5504 MB / 0.5648 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04378/0.6786, allocations: 18.88 MB / 0.5832 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000411/0.679, allocations: 67.19 kB / 0.5833 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/0.6819, allocations: 249 kB / 0.5835 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006251/0.6882, allocations: 3.425 MB / 0.5869 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04132/0.7295, allocations: 16.64 MB / 0.6031 GB, free: 8.609 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.1095/0.8391, allocations: 66.6 MB / 0.6682 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01709/0.8562, allocations: 6.275 MB / 0.6743 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004849/0.8611, allocations: 2.822 MB / 0.677 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0273/0.8885, allocations: 13.87 MB / 0.6906 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.8885, allocations: 56.56 kB / 0.6906 GB, free: 13.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 5.571e-06/0.8886, allocations: 1.969 kB / 0.6906 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.09151/0.9801, allocations: 25.1 MB / 0.7152 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.9803, allocations: 184.3 kB / 0.7153 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/0.9932, allocations: 5.916 MB / 0.7211 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007582/0.994, allocations: 69.7 kB / 0.7212 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004895/0.9989, allocations: 4.953 MB / 0.726 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001971/1.001, allocations: 1.29 MB / 0.7273 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005097/1.006, allocations: 1.912 MB / 0.7291 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.006, allocations: 301.1 kB / 0.7294 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007014/1.013, allocations: 3.36 MB / 0.7327 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2841/1.297, allocations: 8.87 MB / 0.7414 GB, free: 189.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0224/1.32, allocations: 13.18 MB / 0.7542 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006618/1.321, allocations: 55.34 kB / 0.7543 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.04165/1.362, allocations: 13 MB / 0.767 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/1.362, allocations: 88.69 kB / 0.7671 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003083/1.363, allocations: 194.8 kB / 0.7673 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00435/1.367, allocations: 1.322 MB / 0.7685 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008051/1.375, allocations: 2.208 MB / 0.7707 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.388, allocations: 7.844 MB / 0.7784 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00959/1.398, allocations: 0.5035 MB / 0.7789 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/1.4, allocations: 0.5547 MB / 0.7794 GB, free: 169.9 MB / 0.5762 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.01117/1.411, allocations: 3.454 MB / 0.7828 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/1.413, allocations: 0.5199 MB / 0.7833 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.43, allocations: 5.41 MB / 0.7886 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.297e-05/1.431, allocations: 36 kB / 0.7886 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-05/1.431, allocations: 8 kB / 0.7886 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.952e-05/1.431, allocations: 15.14 kB / 0.7886 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/1.468, allocations: 13.92 MB / 0.8022 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.565e-05/1.468, allocations: 12 kB / 0.8022 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.471, allocations: 0.4895 MB / 0.8027 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/1.474, allocations: 0.8154 MB / 0.8035 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006594/1.475, allocations: 70.25 kB / 0.8036 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008946/1.484, allocations: 5.798 MB / 0.8092 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/1.484, allocations: 19.88 kB / 0.8093 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.499, allocations: 8.291 MB / 0.8173 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003762/1.503, allocations: 0.93 MB / 0.8183 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.505, allocations: 67.05 kB / 0.8183 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/1.508, allocations: 125.7 kB / 0.8184 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/1.509, allocations: 229.4 kB / 0.8187 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.509, allocations: 106.7 kB / 0.8188 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006117/1.515, allocations: 3.674 MB / 0.8223 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.81e-07/1.515, allocations: 0 / 0.8223 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01016/1.525, allocations: 1.649 MB / 0.824 GB, free: 132.4 MB / 0.5762 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.0009029/1.526, allocations: 263.9 kB / 0.8242 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01282/1.539, allocations: 7.937 MB / 0.832 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/1.539, allocations: 4.25 kB / 0.832 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003799/1.543, allocations: 2.377 MB / 0.8343 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005226/1.548, allocations: 0.7061 MB / 0.835 GB, free: 121.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/1.579, allocations: 15.25 MB / 0.8499 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007907/1.587, allocations: 5.169 MB / 0.8549 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006572/1.594, allocations: 2.974 MB / 0.8578 GB, free: 97.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.595, allocations: 383.4 kB / 0.8582 GB, free: 97.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.345e-06/1.595, allocations: 0 / 0.8582 GB, free: 97.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.09978/1.695, allocations: 56.27 MB / 0.9131 GB, free: 41.04 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)