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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001629/0.001629, allocations: 191.4 kB / 16.14 MB, free: 6.73 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.766 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.3673/0.3673, allocations: 37.98 MB / 307.3 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.001474/0.001474, allocations: 63.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3406/0.4803, allocations: 58.25 MB / 489.3 MB, free: 20.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0355/0.5158, allocations: 12.32 MB / 0.4898 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01635/0.5323, allocations: 250.7 kB / 0.4901 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0085/0.5408, allocations: 4.14 MB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.5509, allocations: 2.61 MB / 0.4967 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.5545, allocations: 1.157 MB / 0.4978 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01795/0.5725, allocations: 10.53 MB / 0.5081 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.5833, allocations: 5.757 MB / 0.5137 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007046/0.5903, allocations: 2.361 MB / 0.516 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007658/0.598, allocations: 3.995 MB / 0.5199 GB, free: 340 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002785/0.6009, allocations: 421.3 kB / 0.5203 GB, free: 336 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/0.6068, allocations: 1.64 MB / 0.5219 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006139/0.613, allocations: 3.183 MB / 0.525 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.6251, allocations: 3.627 MB / 0.5286 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02087/0.646, allocations: 11.81 MB / 0.5401 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.646, allocations: 0 / 0.5401 GB, free: 13.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.646, allocations: 3.938 kB / 0.5401 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005833/0.6466, allocations: 4 kB / 0.5401 GB, free: 13.47 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.02793/0.6746, allocations: 7.898 MB / 0.5478 GB, free: 5.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.6747, allocations: 8.031 kB / 0.5478 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/0.6921, allocations: 3.945 MB / 0.5517 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.7031, allocations: 4.409 MB / 0.556 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005173/0.7037, allocations: 394 kB / 0.5564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/0.7072, allocations: 0.5541 MB / 0.5569 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04268/0.7499, allocations: 18.88 MB / 0.5753 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/0.7502, allocations: 63.47 kB / 0.5754 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001433/0.7517, allocations: 247.8 kB / 0.5756 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00516/0.7569, allocations: 3.432 MB / 0.579 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/0.7929, allocations: 16.64 MB / 0.5952 GB, free: 3.785 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.3702/1.163, allocations: 66.92 MB / 0.6606 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/1.178, allocations: 6.284 MB / 0.6667 GB, free: 99.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004069/1.182, allocations: 2.818 MB / 0.6695 GB, free: 98.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02419/1.207, allocations: 13.85 MB / 0.683 GB, free: 90.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/1.207, allocations: 65.84 kB / 0.6831 GB, free: 90.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 8.867e-06/1.207, allocations: 1.094 kB / 0.6831 GB, free: 90.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.08725/1.294, allocations: 25.08 MB / 0.7076 GB, free: 82.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/1.294, allocations: 191.9 kB / 0.7077 GB, free: 82.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008451/1.303, allocations: 5.911 MB / 0.7135 GB, free: 80.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007305/1.303, allocations: 75.81 kB / 0.7136 GB, free: 80.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003015/1.306, allocations: 4.959 MB / 0.7184 GB, free: 76.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.308, allocations: 1.292 MB / 0.7197 GB, free: 75.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/1.31, allocations: 1.904 MB / 0.7215 GB, free: 74.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.82e-05/1.311, allocations: 301.1 kB / 0.7218 GB, free: 74.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/1.316, allocations: 3.356 MB / 0.7251 GB, free: 73.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008402/1.324, allocations: 8.879 MB / 0.7338 GB, free: 64.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/1.339, allocations: 13.18 MB / 0.7467 GB, free: 48.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000324/1.339, allocations: 59.94 kB / 0.7467 GB, free: 48.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.0276/1.367, allocations: 12.99 MB / 0.7594 GB, free: 35.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/1.367, allocations: 88 kB / 0.7595 GB, free: 35.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003689/1.368, allocations: 194.4 kB / 0.7597 GB, free: 35.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004311/1.372, allocations: 1.326 MB / 0.761 GB, free: 34.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007419/1.379, allocations: 2.203 MB / 0.7631 GB, free: 31.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.39, allocations: 7.292 MB / 0.7702 GB, free: 24.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/1.401, allocations: 0.5033 MB / 0.7707 GB, free: 23.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002528/1.404, allocations: 0.5583 MB / 0.7713 GB, free: 23.34 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.009859/1.413, allocations: 3.452 MB / 0.7746 GB, free: 19.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/1.416, allocations: 0.5206 MB / 0.7751 GB, free: 19.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.43, allocations: 5.415 MB / 0.7804 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-05/1.43, allocations: 36 kB / 0.7805 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/1.43, allocations: 8 kB / 0.7805 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-05/1.43, allocations: 15.94 kB / 0.7805 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03623/1.467, allocations: 14.02 MB / 0.7942 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-05/1.467, allocations: 12 kB / 0.7942 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.469, allocations: 0.4953 MB / 0.7947 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/1.473, allocations: 0.8076 MB / 0.7955 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008195/1.474, allocations: 71.98 kB / 0.7955 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.484, allocations: 5.334 MB / 0.8007 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/1.484, allocations: 15.94 kB / 0.8008 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/1.502, allocations: 8.288 MB / 0.8089 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/1.506, allocations: 0.9276 MB / 0.8098 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/1.507, allocations: 66.28 kB / 0.8098 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/1.511, allocations: 135.9 kB / 0.81 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008669/1.512, allocations: 221.4 kB / 0.8102 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004737/1.513, allocations: 102.4 kB / 0.8103 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008317/1.521, allocations: 3.674 MB / 0.8138 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/1.521, allocations: 3.938 kB / 0.8139 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01133/1.532, allocations: 1.647 MB / 0.8155 GB, free: 9.383 MB / 0.5137 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.001219/1.534, allocations: 276.7 kB / 0.8157 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01606/1.55, allocations: 7.873 MB / 0.8234 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/1.55, allocations: 4 kB / 0.8234 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2587/1.808, allocations: 2.378 MB / 0.8257 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.813, allocations: 0.6716 MB / 0.8264 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/1.842, allocations: 18.89 MB / 0.8448 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007137/1.85, allocations: 5.164 MB / 0.8499 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008316/1.858, allocations: 2.969 MB / 0.8528 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.86, allocations: 388 kB / 0.8532 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/1.86, allocations: 0 / 0.8532 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1213/1.981, allocations: 58.81 MB / 0.9106 GB, free: 119.1 MB / 0.5137 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)