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.01077/0.01077, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.002191/0.002191, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3482/0.3482, allocations: 38 MB / 307.9 MB, free: 10.08 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.001439/0.001439, allocations: 67.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2942, allocations: 56.46 MB / 489.4 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0149/0.3091, allocations: 16.37 MB / 0.494 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3212, allocations: 5.297 MB / 0.4991 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/0.3255, allocations: 101.7 kB / 0.4992 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008243/0.3338, allocations: 4.175 MB / 0.5033 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009205/0.3431, allocations: 2.762 MB / 0.506 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005491/0.3486, allocations: 1.262 MB / 0.5072 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01731/0.3659, allocations: 7.454 MB / 0.5145 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.3798, allocations: 5.865 MB / 0.5202 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007751/0.3876, allocations: 2.691 MB / 0.5229 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008605/0.3963, allocations: 3.786 MB / 0.5266 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002871/0.3992, allocations: 0.5938 MB / 0.5272 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007853/0.4071, allocations: 1.756 MB / 0.5289 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007467/0.4146, allocations: 3.328 MB / 0.5321 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009901/0.4245, allocations: 3.806 MB / 0.5358 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02278/0.4473, allocations: 12.44 MB / 0.548 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4474, allocations: 0 / 0.548 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4474, allocations: 0 / 0.548 GB, free: 11.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005167/0.4479, allocations: 0 / 0.548 GB, free: 11.63 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.02647/0.4744, allocations: 8.111 MB / 0.5559 GB, free: 3.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.4745, allocations: 11.89 kB / 0.5559 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.4906, allocations: 3.985 MB / 0.5598 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.5014, allocations: 4.484 MB / 0.5642 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.5019, allocations: 398 kB / 0.5646 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.5041, allocations: 0.5542 MB / 0.5651 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03872/0.5428, allocations: 18.87 MB / 0.5835 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/0.5431, allocations: 75.39 kB / 0.5836 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/0.5443, allocations: 251.8 kB / 0.5838 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005184/0.5495, allocations: 3.428 MB / 0.5872 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03643/0.5859, allocations: 16.63 MB / 0.6034 GB, free: 1.602 MB / 478.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.4147/1.001, allocations: 66.72 MB / 0.6686 GB, free: 80.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/1.019, allocations: 6.274 MB / 0.6747 GB, free: 77.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004928/1.024, allocations: 2.822 MB / 0.6775 GB, free: 76.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02375/1.047, allocations: 13.89 MB / 0.691 GB, free: 69.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/1.048, allocations: 65.2 kB / 0.6911 GB, free: 69.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 6.091e-06/1.048, allocations: 0 / 0.6911 GB, free: 69.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.08499/1.133, allocations: 25.46 MB / 0.716 GB, free: 58.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.133, allocations: 193.5 kB / 0.7162 GB, free: 58.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008221/1.141, allocations: 5.929 MB / 0.7219 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006787/1.142, allocations: 77.64 kB / 0.722 GB, free: 53.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002784/1.144, allocations: 5.16 MB / 0.7271 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/1.146, allocations: 1.338 MB / 0.7284 GB, free: 47.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002265/1.148, allocations: 1.918 MB / 0.7302 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/1.148, allocations: 309.1 kB / 0.7305 GB, free: 44.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/1.153, allocations: 3.353 MB / 0.7338 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/1.16, allocations: 8.876 MB / 0.7425 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/1.176, allocations: 13.19 MB / 0.7554 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001964/1.176, allocations: 52 kB / 0.7554 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02653/1.203, allocations: 13.02 MB / 0.7681 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.203, allocations: 96.92 kB / 0.7682 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/1.203, allocations: 192 kB / 0.7684 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/1.208, allocations: 1.33 MB / 0.7697 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/1.216, allocations: 2.203 MB / 0.7718 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.229, allocations: 7.858 MB / 0.7795 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008994/1.238, allocations: 0.4956 MB / 0.78 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/1.241, allocations: 0.5508 MB / 0.7805 GB, free: 4.004 MB / 0.5137 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.01139/1.252, allocations: 3.46 MB / 0.7839 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002785/1.255, allocations: 0.5549 MB / 0.7845 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.272, allocations: 5.404 MB / 0.7897 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/1.272, allocations: 40 kB / 0.7898 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/1.272, allocations: 4 kB / 0.7898 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.518e-05/1.272, allocations: 23.88 kB / 0.7898 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0352/1.307, allocations: 13.92 MB / 0.8034 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.307, allocations: 12.97 kB / 0.8034 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.31, allocations: 0.4915 MB / 0.8039 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/1.313, allocations: 0.8244 MB / 0.8047 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/1.313, allocations: 71.73 kB / 0.8048 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009469/1.323, allocations: 5.805 MB / 0.8104 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/1.323, allocations: 15.94 kB / 0.8104 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/1.338, allocations: 8.314 MB / 0.8186 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/1.34, allocations: 0.9501 MB / 0.8195 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009096/1.341, allocations: 67.92 kB / 0.8196 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.344, allocations: 136.2 kB / 0.8197 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/1.344, allocations: 221.5 kB / 0.8199 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.344, allocations: 104 kB / 0.82 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006869/1.351, allocations: 3.67 MB / 0.8236 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/1.351, allocations: 0 / 0.8236 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01073/1.362, allocations: 1.66 MB / 0.8252 GB, free: 5.543 MB / 0.5606 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.001217/1.363, allocations: 258.4 kB / 0.8254 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01631/1.38, allocations: 7.937 MB / 0.8332 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/1.38, allocations: 7.938 kB / 0.8332 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005027/1.385, allocations: 2.388 MB / 0.8355 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/1.39, allocations: 0.7037 MB / 0.8362 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/1.42, allocations: 15.49 MB / 0.8514 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008108/1.428, allocations: 5.165 MB / 0.8564 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007896/1.436, allocations: 2.97 MB / 0.8593 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.438, allocations: 387.4 kB / 0.8597 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.438, allocations: 0 / 0.8597 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of Templates: time 0.4061/1.844, allocations: 56.28 MB / 0.9146 GB, free: 175.3 MB / 0.5919 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)