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.001297/0.001297, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001374/0.001374, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3309/0.3309, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0005909/0.0005909, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 57.52 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.2813/0.4109, allocations: 49.87 MB / 483.8 MB, free: 25.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02881/0.4398, allocations: 12.15 MB / 495.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01124/0.4511, allocations: 248.6 kB / 496.2 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009744/0.4609, allocations: 2.49 MB / 498.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02845/0.4893, allocations: 7.179 MB / 0.494 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.4958, allocations: 1.043 MB / 0.495 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03255/0.5283, allocations: 16.69 MB / 0.5113 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0113/0.5397, allocations: 7.002 MB / 0.5181 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/0.5447, allocations: 1.781 MB / 0.5199 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.5491, allocations: 2.524 MB / 0.5223 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.5502, allocations: 260 kB / 0.5226 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.5531, allocations: 1.249 MB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003233/0.5564, allocations: 2.708 MB / 0.5265 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.5589, allocations: 1.384 MB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.572, allocations: 9.625 MB / 0.5372 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.572, allocations: 0 / 0.5372 GB, free: 2.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.572, allocations: 0 / 0.5372 GB, free: 2.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004846/0.5725, allocations: 0 / 0.5372 GB, free: 2.227 MB / 398.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.02064/0.5932, allocations: 6.72 MB / 0.5438 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.5932, allocations: 12.03 kB / 0.5438 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03379/0.627, allocations: 7.163 MB / 0.5508 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.6422, allocations: 4.905 MB / 0.5556 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004937/0.6428, allocations: 397.9 kB / 0.5559 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003316/0.6461, allocations: 0.5503 MB / 0.5565 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04382/0.69, allocations: 19.06 MB / 0.5751 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/0.6903, allocations: 63.41 kB / 0.5752 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.6915, allocations: 251.8 kB / 0.5754 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006004/0.6976, allocations: 3.424 MB / 0.5787 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0405/0.7381, allocations: 16.76 MB / 0.5951 GB, free: 5.707 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.569/1.307, allocations: 67 MB / 0.6605 GB, free: 97.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/1.322, allocations: 6.295 MB / 0.6667 GB, free: 96.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02487/1.347, allocations: 13.99 MB / 0.6803 GB, free: 89.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/1.347, allocations: 65 kB / 0.6804 GB, free: 89.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 6.993e-06/1.347, allocations: 0.6875 kB / 0.6804 GB, free: 89.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=345): time 0.09198/1.439, allocations: 26.04 MB / 0.7058 GB, free: 80.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/1.439, allocations: 185.6 kB / 0.706 GB, free: 80.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009757/1.449, allocations: 6.256 MB / 0.7121 GB, free: 78.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009233/1.45, allocations: 72.27 kB / 0.7122 GB, free: 78.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003808/1.454, allocations: 4.984 MB / 0.7171 GB, free: 74.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.455, allocations: 1.293 MB / 0.7183 GB, free: 73.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004292/1.456, allocations: 186 kB / 0.7185 GB, free: 73.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004452/1.456, allocations: 0.7063 MB / 0.7192 GB, free: 73.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005159/1.461, allocations: 3.26 MB / 0.7224 GB, free: 72.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009796/1.471, allocations: 8.693 MB / 0.7309 GB, free: 63.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/1.48, allocations: 5.231 MB / 0.736 GB, free: 61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002638/1.48, allocations: 54.47 kB / 0.736 GB, free: 61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02891/1.509, allocations: 12.74 MB / 0.7485 GB, free: 48.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.509, allocations: 90.81 kB / 0.7485 GB, free: 48.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/1.509, allocations: 196 kB / 0.7487 GB, free: 48.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/1.513, allocations: 1.34 MB / 0.75 GB, free: 46.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/1.521, allocations: 2.168 MB / 0.7522 GB, free: 44.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.532, allocations: 7.519 MB / 0.7595 GB, free: 36.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009157/1.541, allocations: 0.4994 MB / 0.76 GB, free: 36.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/1.543, allocations: 0.5472 MB / 0.7605 GB, free: 35.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00759/1.55, allocations: 3.448 MB / 0.7639 GB, free: 32.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.552, allocations: 0.5283 MB / 0.7644 GB, free: 31.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.562, allocations: 5.401 MB / 0.7697 GB, free: 26.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-05/1.562, allocations: 40 kB / 0.7697 GB, free: 26.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/1.562, allocations: 4 kB / 0.7697 GB, free: 26.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.712e-05/1.562, allocations: 19.94 kB / 0.7697 GB, free: 26.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/1.591, allocations: 14.03 MB / 0.7834 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/1.591, allocations: 18.7 kB / 0.7835 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.593, allocations: 0.4914 MB / 0.7839 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/1.596, allocations: 0.8169 MB / 0.7847 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/1.597, allocations: 67.98 kB / 0.7848 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007876/1.605, allocations: 5.56 MB / 0.7902 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.605, allocations: 19.94 kB / 0.7902 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.62, allocations: 10.01 MB / 0.8 GB, free: 10.46 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003709/1.624, allocations: 0.9469 MB / 0.8009 GB, free: 9.484 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001269/1.625, allocations: 63.98 kB / 0.801 GB, free: 9.422 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.627, allocations: 137.2 kB / 0.8011 GB, free: 9.289 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/1.628, allocations: 217.5 kB / 0.8013 GB, free: 9.078 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/1.628, allocations: 108.2 kB / 0.8015 GB, free: 8.977 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.007133/1.635, allocations: 3.942 MB / 0.8053 GB, free: 5.066 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.31e-07/1.635, allocations: 0 / 0.8053 GB, free: 5.066 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009572/1.645, allocations: 1.651 MB / 0.8069 GB, free: 3.426 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008363/1.646, allocations: 283.8 kB / 0.8072 GB, free: 3.156 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.659, allocations: 7.739 MB / 0.8147 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/1.659, allocations: 0.6875 kB / 0.8147 GB, free: 11.43 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.663, allocations: 2.368 MB / 0.8171 GB, free: 9.051 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/1.667, allocations: 0.6563 MB / 0.8177 GB, free: 8.414 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2476/1.914, allocations: 18.11 MB / 0.8354 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006242/1.921, allocations: 5.316 MB / 0.8406 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007597/1.928, allocations: 2.979 MB / 0.8435 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.93, allocations: 388 kB / 0.8438 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of SimCode: time 9.02e-07/1.93, allocations: 0 / 0.8438 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of Templates: time 0.1175/2.047, allocations: 57.71 MB / 0.9002 GB, free: 125.2 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: