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.007269/0.007269, allocations: 99.31 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.001378/0.001378, allocations: 187.4 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.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3405/0.3405, allocations: 38 MB / 307.9 MB, free: 10.09 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.001695/0.001696, allocations: 75.89 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3682, allocations: 56.46 MB / 489.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01742/0.3857, allocations: 16.37 MB / 0.494 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.4018, allocations: 5.31 MB / 0.4991 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005323/0.4072, allocations: 97.03 kB / 0.4992 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00975/0.417, allocations: 4.176 MB / 0.5033 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.4273, allocations: 2.762 MB / 0.506 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.4318, allocations: 1.267 MB / 0.5072 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01543/0.4472, allocations: 7.453 MB / 0.5145 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.4584, allocations: 5.858 MB / 0.5202 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006739/0.4651, allocations: 2.691 MB / 0.5229 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007071/0.4722, allocations: 3.793 MB / 0.5266 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003364/0.4756, allocations: 0.5977 MB / 0.5272 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/0.4814, allocations: 1.76 MB / 0.5289 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005303/0.4867, allocations: 3.347 MB / 0.5322 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008503/0.4952, allocations: 3.806 MB / 0.5359 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.5145, allocations: 12.39 MB / 0.548 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.5146, allocations: 0 / 0.548 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5146, allocations: 0 / 0.548 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006758/0.5153, allocations: 0 / 0.548 GB, free: 11.65 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.03189/0.5472, allocations: 7.902 MB / 0.5557 GB, free: 3.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.5473, allocations: 11.89 kB / 0.5557 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02443/0.5717, allocations: 3.945 MB / 0.5595 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.5848, allocations: 4.467 MB / 0.5639 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/0.5853, allocations: 394 kB / 0.5643 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.5883, allocations: 0.5503 MB / 0.5648 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04438/0.6327, allocations: 18.88 MB / 0.5833 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/0.633, allocations: 67.39 kB / 0.5833 GB, free: 6.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/0.6344, allocations: 247.8 kB / 0.5836 GB, free: 5.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005445/0.6398, allocations: 3.432 MB / 0.5869 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03773/0.6776, allocations: 16.63 MB / 0.6032 GB, free: 1.906 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.5309/1.209, allocations: 66.6 MB / 0.6682 GB, free: 80.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02684/1.235, allocations: 6.268 MB / 0.6743 GB, free: 78.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00702/1.242, allocations: 2.824 MB / 0.6771 GB, free: 77.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03801/1.281, allocations: 13.87 MB / 0.6906 GB, free: 69.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.109e-05/1.281, allocations: 61.5 kB / 0.6907 GB, free: 69.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 9.938e-06/1.281, allocations: 0 / 0.6907 GB, free: 69.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345): time 0.09382/1.375, allocations: 25.09 MB / 0.7152 GB, free: 58.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/1.375, allocations: 189 kB / 0.7154 GB, free: 58.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007456/1.382, allocations: 5.914 MB / 0.7211 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006021/1.383, allocations: 77.7 kB / 0.7212 GB, free: 53.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.385, allocations: 4.958 MB / 0.726 GB, free: 48.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.386, allocations: 1.287 MB / 0.7273 GB, free: 47.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/1.388, allocations: 1.908 MB / 0.7292 GB, free: 45.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/1.388, allocations: 301.1 kB / 0.7295 GB, free: 44.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004112/1.393, allocations: 3.357 MB / 0.7327 GB, free: 41.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006241/1.399, allocations: 8.874 MB / 0.7414 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.412, allocations: 13.19 MB / 0.7543 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.412, allocations: 56 kB / 0.7543 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.02443/1.437, allocations: 13 MB / 0.767 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/1.437, allocations: 88 kB / 0.7671 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003149/1.437, allocations: 196 kB / 0.7673 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/1.441, allocations: 1.314 MB / 0.7686 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008159/1.45, allocations: 2.211 MB / 0.7707 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.464, allocations: 7.851 MB / 0.7784 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008228/1.472, allocations: 0.5033 MB / 0.7789 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/1.474, allocations: 0.5504 MB / 0.7794 GB, free: 4.078 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.007955/1.482, allocations: 3.454 MB / 0.7828 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.484, allocations: 0.522 MB / 0.7833 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.496, allocations: 5.412 MB / 0.7886 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-05/1.497, allocations: 36 kB / 0.7886 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/1.497, allocations: 8 kB / 0.7886 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.47e-05/1.497, allocations: 19.92 kB / 0.7887 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03481/1.532, allocations: 13.91 MB / 0.8022 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/1.532, allocations: 15.94 kB / 0.8023 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.534, allocations: 499.2 kB / 0.8027 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003467/1.538, allocations: 0.8244 MB / 0.8035 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004513/1.538, allocations: 66.73 kB / 0.8036 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00982/1.548, allocations: 5.797 MB / 0.8093 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/1.548, allocations: 23.86 kB / 0.8093 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.563, allocations: 8.29 MB / 0.8174 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003549/1.567, allocations: 0.9236 MB / 0.8183 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.568, allocations: 67.98 kB / 0.8184 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.57, allocations: 131.9 kB / 0.8185 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/1.571, allocations: 221.4 kB / 0.8187 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/1.571, allocations: 102 kB / 0.8188 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006695/1.578, allocations: 3.678 MB / 0.8224 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.12e-07/1.578, allocations: 4.469 kB / 0.8224 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009194/1.587, allocations: 1.655 MB / 0.824 GB, free: 5.727 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.0009295/1.588, allocations: 258.5 kB / 0.8242 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.603, allocations: 7.94 MB / 0.832 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/1.603, allocations: 4 kB / 0.832 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/1.608, allocations: 2.376 MB / 0.8343 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004983/1.613, allocations: 0.707 MB / 0.835 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/1.651, allocations: 15.24 MB / 0.8499 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/1.667, allocations: 5.18 MB / 0.855 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01415/1.681, allocations: 2.97 MB / 0.8579 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/1.684, allocations: 387.4 kB / 0.8582 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/1.684, allocations: 4 kB / 0.8582 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.3818/2.066, allocations: 55.98 MB / 0.9129 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)