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.007648/0.007648, allocations: 100.8 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.00154/0.00154, allocations: 186.5 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.506/1.506, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.3057/0.3057, allocations: 38 MB / 307.9 MB, free: 10.33 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.001452/0.001452, allocations: 71.91 kB / 433 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.317, allocations: 56.45 MB / 489.4 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01542/0.3324, allocations: 16.37 MB / 0.494 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.3456, allocations: 5.315 MB / 0.4991 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004454/0.3501, allocations: 96.69 kB / 0.4992 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007809/0.358, allocations: 4.176 MB / 0.5033 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009254/0.3673, allocations: 2.844 MB / 0.5061 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.3706, allocations: 1.266 MB / 0.5073 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.383, allocations: 7.451 MB / 0.5146 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/0.3937, allocations: 5.869 MB / 0.5203 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006156/0.3999, allocations: 2.691 MB / 0.523 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006401/0.4063, allocations: 3.793 MB / 0.5267 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002322/0.4086, allocations: 0.5977 MB / 0.5273 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.414, allocations: 1.756 MB / 0.529 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005714/0.4198, allocations: 3.343 MB / 0.5322 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008842/0.4286, allocations: 3.806 MB / 0.536 GB, free: 7.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.4486, allocations: 12.39 MB / 0.5481 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4487, allocations: 0 / 0.5481 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4487, allocations: 0 / 0.5481 GB, free: 11.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005281/0.4492, allocations: 4 kB / 0.5481 GB, free: 11.56 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.0271/0.4763, allocations: 7.894 MB / 0.5558 GB, free: 3.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4764, allocations: 11.89 kB / 0.5558 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.4932, allocations: 3.941 MB / 0.5596 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.5047, allocations: 4.471 MB / 0.564 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.5052, allocations: 394 kB / 0.5644 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/0.5078, allocations: 0.5464 MB / 0.5649 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04291/0.5508, allocations: 18.88 MB / 0.5833 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003778/0.5512, allocations: 67.39 kB / 0.5834 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002391/0.5536, allocations: 247.8 kB / 0.5836 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006341/0.56, allocations: 3.432 MB / 0.587 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03903/0.599, allocations: 16.63 MB / 0.6032 GB, free: 1.816 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.398/0.997, allocations: 66.6 MB / 0.6683 GB, free: 80.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/1.016, allocations: 6.268 MB / 0.6744 GB, free: 78.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006656/1.023, allocations: 2.828 MB / 0.6772 GB, free: 77.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03046/1.054, allocations: 13.86 MB / 0.6907 GB, free: 69.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.842e-05/1.054, allocations: 66.16 kB / 0.6908 GB, free: 69.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 9.087e-06/1.054, allocations: 1.125 kB / 0.6908 GB, free: 69.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.08804/1.142, allocations: 25.09 MB / 0.7153 GB, free: 58.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/1.142, allocations: 190.3 kB / 0.7154 GB, free: 58.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.153, allocations: 5.923 MB / 0.7212 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007202/1.153, allocations: 76.91 kB / 0.7213 GB, free: 53.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.156, allocations: 4.952 MB / 0.7261 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.158, allocations: 1.28 MB / 0.7274 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/1.16, allocations: 1.918 MB / 0.7293 GB, free: 45.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.758e-05/1.16, allocations: 305.1 kB / 0.7296 GB, free: 44.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.164, allocations: 3.357 MB / 0.7328 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006869/1.171, allocations: 8.874 MB / 0.7415 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.184, allocations: 13.18 MB / 0.7544 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001714/1.184, allocations: 52 kB / 0.7544 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02509/1.209, allocations: 13 MB / 0.7671 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002434/1.21, allocations: 89 kB / 0.7672 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003349/1.21, allocations: 195.9 kB / 0.7674 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/1.214, allocations: 1.334 MB / 0.7687 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007925/1.222, allocations: 2.203 MB / 0.7708 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.237, allocations: 7.845 MB / 0.7785 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009601/1.246, allocations: 0.4994 MB / 0.779 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002494/1.249, allocations: 0.5569 MB / 0.7795 GB, free: 4.094 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.00903/1.258, allocations: 3.452 MB / 0.7829 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.26, allocations: 0.5206 MB / 0.7834 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.273, allocations: 5.41 MB / 0.7887 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.392e-05/1.273, allocations: 39.98 kB / 0.7887 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-05/1.273, allocations: 8 kB / 0.7887 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/1.273, allocations: 15.95 kB / 0.7888 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0376/1.311, allocations: 13.91 MB / 0.8023 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/1.311, allocations: 16.98 kB / 0.8024 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.313, allocations: 0.4993 MB / 0.8028 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/1.317, allocations: 0.8205 MB / 0.8036 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/1.317, allocations: 67.98 kB / 0.8037 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/1.327, allocations: 5.797 MB / 0.8094 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-05/1.327, allocations: 20.34 kB / 0.8094 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/1.344, allocations: 8.283 MB / 0.8175 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/1.347, allocations: 0.9236 MB / 0.8184 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.348, allocations: 63.98 kB / 0.8184 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/1.351, allocations: 135.8 kB / 0.8186 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/1.351, allocations: 229.4 kB / 0.8188 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002905/1.352, allocations: 108 kB / 0.8189 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007484/1.359, allocations: 3.667 MB / 0.8225 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.359, allocations: 0 / 0.8225 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008473/1.368, allocations: 1.651 MB / 0.8241 GB, free: 5.723 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.0007975/1.368, allocations: 266.6 kB / 0.8243 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0141/1.382, allocations: 7.94 MB / 0.8321 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/1.383, allocations: 4.625 kB / 0.8321 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004426/1.387, allocations: 2.372 MB / 0.8344 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/1.393, allocations: 0.7056 MB / 0.8351 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/1.424, allocations: 15.25 MB / 0.85 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009799/1.434, allocations: 5.169 MB / 0.855 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01052/1.445, allocations: 2.97 MB / 0.8579 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/1.447, allocations: 391.4 kB / 0.8583 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of SimCode: time 1.433e-06/1.447, allocations: 0 / 0.8583 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of Templates: time 0.4026/1.85, allocations: 56.27 MB / 0.9133 GB, free: 175.7 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)