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.001506/0.001506, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001728/0.001728, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.736/1.736, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.3474/0.3474, allocations: 39.93 MB / 309.4 MB, free: 9.051 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.001376/0.001376, allocations: 70.41 kB / 377.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1597, allocations: 56.89 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3605/0.5202, allocations: 58.25 MB / 492.2 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03713/0.5574, allocations: 12.18 MB / 0.4926 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01758/0.575, allocations: 250.1 kB / 0.4928 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008372/0.5835, allocations: 4.022 MB / 0.4968 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009655/0.5932, allocations: 2.574 MB / 0.4993 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.5974, allocations: 1.196 MB / 0.5004 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01545/0.6129, allocations: 7.568 MB / 0.5078 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/0.627, allocations: 6.162 MB / 0.5139 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008294/0.6353, allocations: 2.741 MB / 0.5165 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009733/0.6451, allocations: 4.167 MB / 0.5206 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003757/0.6489, allocations: 0.5995 MB / 0.5212 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007092/0.656, allocations: 1.769 MB / 0.5229 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007405/0.6635, allocations: 3.371 MB / 0.5262 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01334/0.6768, allocations: 3.838 MB / 0.53 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.6982, allocations: 12.05 MB / 0.5417 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.6983, allocations: 0 / 0.5417 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.6983, allocations: 0 / 0.5417 GB, free: 10.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006997/0.699, allocations: 0 / 0.5417 GB, free: 10.34 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.03043/0.7295, allocations: 7.899 MB / 0.5494 GB, free: 2.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.7295, allocations: 15.89 kB / 0.5494 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.7462, allocations: 3.945 MB / 0.5533 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.7581, allocations: 4.401 MB / 0.5576 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005923/0.7588, allocations: 398 kB / 0.558 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003649/0.7625, allocations: 0.5541 MB / 0.5585 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0449/0.8074, allocations: 18.87 MB / 0.5769 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.8076, allocations: 71.31 kB / 0.577 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008201/0.8085, allocations: 251.8 kB / 0.5773 GB, free: 4.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005646/0.8141, allocations: 3.424 MB / 0.5806 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03704/0.8512, allocations: 16.63 MB / 0.5968 GB, free: 0.6641 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.6826/1.534, allocations: 66.94 MB / 0.6622 GB, free: 99.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.549, allocations: 6.264 MB / 0.6683 GB, free: 97.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004335/1.554, allocations: 2.819 MB / 0.6711 GB, free: 96.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02625/1.58, allocations: 13.85 MB / 0.6846 GB, free: 89.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.49e-05/1.58, allocations: 62.84 kB / 0.6847 GB, free: 88.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 9.007e-06/1.58, allocations: 1.438 kB / 0.6847 GB, free: 88.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.09785/1.678, allocations: 25.09 MB / 0.7092 GB, free: 80.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.678, allocations: 190.1 kB / 0.7094 GB, free: 80.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/1.691, allocations: 5.911 MB / 0.7151 GB, free: 78.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001006/1.692, allocations: 75.95 kB / 0.7152 GB, free: 78.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004242/1.696, allocations: 4.954 MB / 0.72 GB, free: 74.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00198/1.698, allocations: 1.292 MB / 0.7213 GB, free: 73.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00633/1.704, allocations: 1.907 MB / 0.7232 GB, free: 72.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/1.704, allocations: 305.1 kB / 0.7235 GB, free: 72.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005927/1.71, allocations: 3.352 MB / 0.7267 GB, free: 71.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/1.721, allocations: 8.88 MB / 0.7354 GB, free: 60.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/1.738, allocations: 13.19 MB / 0.7483 GB, free: 45.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002641/1.738, allocations: 56.88 kB / 0.7483 GB, free: 45.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02937/1.767, allocations: 12.98 MB / 0.761 GB, free: 32.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/1.768, allocations: 92.03 kB / 0.7611 GB, free: 31.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004194/1.768, allocations: 192 kB / 0.7613 GB, free: 31.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/1.772, allocations: 1.332 MB / 0.7626 GB, free: 30.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007656/1.78, allocations: 2.207 MB / 0.7647 GB, free: 28.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.791, allocations: 7.855 MB / 0.7724 GB, free: 20.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009912/1.801, allocations: 0.4955 MB / 0.7729 GB, free: 19.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/1.804, allocations: 0.5584 MB / 0.7734 GB, free: 19.16 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.008882/1.812, allocations: 3.46 MB / 0.7768 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00259/1.815, allocations: 0.5206 MB / 0.7773 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/1.83, allocations: 5.406 MB / 0.7826 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.913e-05/1.83, allocations: 43.67 kB / 0.7826 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.83, allocations: 4 kB / 0.7827 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/1.83, allocations: 15.95 kB / 0.7827 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.866, allocations: 14.02 MB / 0.7964 GB, free: 11.39 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-05/1.866, allocations: 12 kB / 0.7964 GB, free: 11.38 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/1.869, allocations: 499.2 kB / 0.7968 GB, free: 10.89 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/1.872, allocations: 0.8208 MB / 0.7976 GB, free: 10.06 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006632/1.873, allocations: 66.27 kB / 0.7977 GB, free: 10 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.884, allocations: 5.809 MB / 0.8034 GB, free: 4.051 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-05/1.884, allocations: 15.94 kB / 0.8034 GB, free: 4.035 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/1.906, allocations: 8.297 MB / 0.8115 GB, free: 11.46 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004363/1.911, allocations: 0.9271 MB / 0.8124 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/1.912, allocations: 60 kB / 0.8125 GB, free: 10.45 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/1.916, allocations: 139.4 kB / 0.8126 GB, free: 10.32 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006821/1.916, allocations: 221.4 kB / 0.8128 GB, free: 10.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/1.917, allocations: 104.8 kB / 0.8129 GB, free: 10 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009648/1.926, allocations: 3.67 MB / 0.8165 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.61e-07/1.926, allocations: 3.938 kB / 0.8165 GB, free: 6.355 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01439/1.941, allocations: 1.659 MB / 0.8181 GB, free: 4.707 MB / 0.5138 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.001916/1.943, allocations: 260.5 kB / 0.8184 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2714/2.214, allocations: 11.31 MB / 0.8294 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/2.214, allocations: 0 / 0.8294 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003911/2.218, allocations: 2.38 MB / 0.8317 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/2.223, allocations: 0.695 MB / 0.8324 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/2.254, allocations: 18.89 MB / 0.8509 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009178/2.264, allocations: 5.174 MB / 0.8559 GB, free: 146.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008872/2.272, allocations: 2.969 MB / 0.8588 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/2.274, allocations: 387.5 kB / 0.8592 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of SimCode: time 1.373e-06/2.274, allocations: 0 / 0.8592 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.112/2.386, allocations: 61.04 MB / 0.9188 GB, free: 107.2 MB / 0.5138 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)