Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005624/0.005624, allocations: 100.5 kB / 15.73 MB, free: 6.023 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.001377/0.001377, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.692/1.692, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.383/0.383, allocations: 39.94 MB / 309.8 MB, free: 9.301 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.2. 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.001755/0.001755, allocations: 72.36 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4222, allocations: 56.87 MB / 492.6 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.019/0.4413, allocations: 16.05 MB / 0.4968 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.4576, allocations: 5.462 MB / 0.5021 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005541/0.4632, allocations: 108 kB / 0.5022 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.4734, allocations: 5.137 MB / 0.5072 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.485, allocations: 2.628 MB / 0.5098 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.4899, allocations: 1.395 MB / 0.5111 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.5079, allocations: 7.588 MB / 0.5186 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.5193, allocations: 7.041 MB / 0.5254 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007487/0.5269, allocations: 2.781 MB / 0.5282 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007718/0.5346, allocations: 3.767 MB / 0.5318 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.5367, allocations: 0.6328 MB / 0.5324 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00484/0.5416, allocations: 1.787 MB / 0.5342 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004829/0.5464, allocations: 3.39 MB / 0.5375 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006526/0.5529, allocations: 3.722 MB / 0.5411 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.5708, allocations: 11.99 MB / 0.5528 GB, free: 6.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.5709, allocations: 0 / 0.5528 GB, free: 6.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5709, allocations: 0 / 0.5528 GB, free: 6.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004647/0.5714, allocations: 0 / 0.5528 GB, free: 6.641 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.03/0.6014, allocations: 7.916 MB / 0.5606 GB, free: 14.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.6014, allocations: 19.83 kB / 0.5606 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.6189, allocations: 3.053 MB / 0.5636 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/0.6371, allocations: 5.275 MB / 0.5687 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005714/0.6377, allocations: 378.2 kB / 0.5691 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003521/0.6413, allocations: 0.5152 MB / 0.5696 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04288/0.6842, allocations: 15.51 MB / 0.5847 GB, free: 4.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004809/0.6847, allocations: 79.3 kB / 0.5848 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002647/0.6874, allocations: 231.8 kB / 0.585 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004849/0.6923, allocations: 2.544 MB / 0.5875 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.7262, allocations: 13.09 MB / 0.6003 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5499/1.276, allocations: 57.32 MB / 0.6563 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/1.297, allocations: 6.374 MB / 0.6625 GB, free: 87.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006764/1.303, allocations: 3.441 MB / 0.6659 GB, free: 86.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0246/1.328, allocations: 11.59 MB / 0.6772 GB, free: 80.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/1.328, allocations: 61.38 kB / 0.6773 GB, free: 80.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 8.726e-06/1.328, allocations: 3.938 kB / 0.6773 GB, free: 80.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=343): time 0.1306/1.459, allocations: 39.61 MB / 0.7159 GB, free: 54.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.459, allocations: 243.9 kB / 0.7162 GB, free: 54.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007553/1.467, allocations: 5.743 MB / 0.7218 GB, free: 48.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008379/1.467, allocations: 73.7 kB / 0.7218 GB, free: 48.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.469, allocations: 4.355 MB / 0.7261 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.471, allocations: 1.262 MB / 0.7273 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/1.473, allocations: 1.749 MB / 0.729 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/1.473, allocations: 308.6 kB / 0.7293 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004576/1.477, allocations: 4.089 MB / 0.7333 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007903/1.485, allocations: 8.669 MB / 0.7418 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/1.5, allocations: 13.55 MB / 0.755 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/1.5, allocations: 48 kB / 0.7551 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.05749/1.558, allocations: 16.38 MB / 0.7711 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004744/1.558, allocations: 72 kB / 0.7711 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005347/1.559, allocations: 160 kB / 0.7713 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02883/1.588, allocations: 4.28 MB / 0.7755 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01511/1.603, allocations: 1.895 MB / 0.7773 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07175/1.675, allocations: 21.55 MB / 0.7984 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/1.69, allocations: 0.4993 MB / 0.7989 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003115/1.693, allocations: 484.5 kB / 0.7993 GB, free: 12.76 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01151/1.705, allocations: 3.13 MB / 0.8024 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/1.707, allocations: 0.5168 MB / 0.8029 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04114/1.748, allocations: 10.1 MB / 0.8127 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001469/1.749, allocations: 43.92 kB / 0.8128 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001303/1.749, allocations: 19.94 kB / 0.8128 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001829/1.749, allocations: 15.94 kB / 0.8128 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08621/1.835, allocations: 20.05 MB / 0.8324 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001264/1.835, allocations: 8 kB / 0.8324 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00496/1.84, allocations: 0.4961 MB / 0.8329 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02305/1.864, allocations: 3.837 MB / 0.8366 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0014/1.865, allocations: 63.98 kB / 0.8367 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05623/1.921, allocations: 19.12 MB / 0.8554 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/1.921, allocations: 11.94 kB / 0.8554 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3859/2.307, allocations: 14.91 MB / 0.8699 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/2.312, allocations: 1.167 MB / 0.8711 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/2.313, allocations: 63.42 kB / 0.8711 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/2.317, allocations: 234.9 kB / 0.8714 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008544/2.318, allocations: 227.9 kB / 0.8716 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/2.319, allocations: 92.03 kB / 0.8717 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006738/2.325, allocations: 3.625 MB / 0.8752 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.41e-07/2.325, allocations: 0 / 0.8752 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00838/2.334, allocations: 1.789 MB / 0.877 GB, free: 194.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * Array equations: 3 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008394/2.335, allocations: 263.2 kB / 0.8772 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01601/2.351, allocations: 9.85 MB / 0.8868 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/2.351, allocations: 5.562 kB / 0.8868 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005224/2.356, allocations: 3.789 MB / 0.8905 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004457/2.36, allocations: 0.7225 MB / 0.8912 GB, free: 189 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/2.386, allocations: 15.92 MB / 0.9068 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006519/2.392, allocations: 4.832 MB / 0.9115 GB, free: 180 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006071/2.398, allocations: 2.587 MB / 0.914 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/2.4, allocations: 351.4 kB / 0.9144 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/2.4, allocations: 0 / 0.9144 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.109/2.509, allocations: 75.48 MB / 0.9881 GB, free: 102.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)