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.000887/0.0008872, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001301/0.001301, allocations: 172.7 kB / 15.95 MB, free: 208 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.821/1.821, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.4002/0.4002, allocations: 40.01 MB / 310.4 MB, free: 10.02 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.0005891/0.0005893, allocations: 19.98 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1591, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3808/0.5399, allocations: 62.11 MB / 498.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03738/0.5774, allocations: 13.57 MB / 0.5005 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01751/0.5949, allocations: 300.7 kB / 0.5007 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01391/0.6089, allocations: 3.2 MB / 0.5039 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03431/0.6432, allocations: 9.586 MB / 0.5132 GB, free: 140 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006765/0.65, allocations: 1.166 MB / 0.5144 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07561/0.7257, allocations: 51.98 MB / 0.5651 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01626/0.742, allocations: 8.149 MB / 0.5731 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006835/0.7489, allocations: 2.156 MB / 0.5752 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007313/0.7562, allocations: 3.369 MB / 0.5785 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002473/0.7587, allocations: 244 kB / 0.5787 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.7639, allocations: 1.233 MB / 0.5799 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005823/0.7698, allocations: 2.86 MB / 0.5827 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003839/0.7737, allocations: 1.31 MB / 0.584 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.7873, allocations: 9.354 MB / 0.5931 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.7873, allocations: 0 / 0.5931 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7873, allocations: 0 / 0.5931 GB, free: 7.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005166/0.7878, allocations: 0 / 0.5931 GB, free: 7.816 MB / 462.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.01861/0.8065, allocations: 6.616 MB / 0.5996 GB, free: 1.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.8065, allocations: 16.02 kB / 0.5996 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/0.8209, allocations: 3.115 MB / 0.6026 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.8354, allocations: 5.072 MB / 0.6076 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/0.836, allocations: 381.8 kB / 0.608 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/0.8388, allocations: 0.5035 MB / 0.6085 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04031/0.8792, allocations: 15.53 MB / 0.6236 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004162/0.8796, allocations: 69.14 kB / 0.6237 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.8821, allocations: 239.8 kB / 0.6239 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004373/0.8865, allocations: 2.536 MB / 0.6264 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3548/1.241, allocations: 13.09 MB / 0.6392 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08465/1.326, allocations: 57.54 MB / 0.6954 GB, free: 101.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/1.344, allocations: 6.421 MB / 0.7016 GB, free: 99.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00563/1.35, allocations: 3.428 MB / 0.705 GB, free: 98.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02306/1.373, allocations: 11.58 MB / 0.7163 GB, free: 90.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.913e-05/1.373, allocations: 61.06 kB / 0.7164 GB, free: 90.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 7.174e-06/1.373, allocations: 0 / 0.7164 GB, free: 90.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1269/1.5, allocations: 39.64 MB / 0.7551 GB, free: 52.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/1.5, allocations: 243.9 kB / 0.7553 GB, free: 52.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008281/1.508, allocations: 5.703 MB / 0.7609 GB, free: 46.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009977/1.509, allocations: 77.7 kB / 0.7609 GB, free: 46.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.512, allocations: 4.36 MB / 0.7652 GB, free: 41.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.514, allocations: 1.263 MB / 0.7664 GB, free: 40.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004773/1.514, allocations: 171.9 kB / 0.7666 GB, free: 40.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003553/1.515, allocations: 0.6738 MB / 0.7672 GB, free: 39.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/1.52, allocations: 4.054 MB / 0.7712 GB, free: 35.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/1.527, allocations: 8.629 MB / 0.7796 GB, free: 24.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008361/1.536, allocations: 5.77 MB / 0.7853 GB, free: 19.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.536, allocations: 48 kB / 0.7853 GB, free: 19.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03409/1.57, allocations: 16.32 MB / 0.8012 GB, free: 2.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.57, allocations: 74.5 kB / 0.8013 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002221/1.57, allocations: 164 kB / 0.8015 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/1.584, allocations: 4.307 MB / 0.8057 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007033/1.591, allocations: 1.895 MB / 0.8075 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2954/1.886, allocations: 20.15 MB / 0.8272 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009149/1.895, allocations: 0.5111 MB / 0.8277 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003506/1.899, allocations: 483.7 kB / 0.8282 GB, free: 138.4 MB / 0.4981 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 (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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009538/1.909, allocations: 3.13 MB / 0.8312 GB, free: 138 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001617/1.91, allocations: 0.5175 MB / 0.8317 GB, free: 138 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01986/1.93, allocations: 10.08 MB / 0.8416 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-05/1.93, allocations: 41.3 kB / 0.8416 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/1.93, allocations: 16.59 kB / 0.8416 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/1.93, allocations: 16.36 kB / 0.8416 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04453/1.975, allocations: 20.14 MB / 0.8613 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.47e-05/1.975, allocations: 7.594 kB / 0.8613 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/1.978, allocations: 0.4998 MB / 0.8618 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/1.991, allocations: 3.836 MB / 0.8656 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/1.992, allocations: 73.72 kB / 0.8656 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/2.018, allocations: 17.79 MB / 0.883 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/2.018, allocations: 11.62 kB / 0.883 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/2.048, allocations: 14.86 MB / 0.8975 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004499/2.052, allocations: 1.182 MB / 0.8987 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002444/2.055, allocations: 63.98 kB / 0.8987 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004764/2.06, allocations: 231.7 kB / 0.899 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001482/2.061, allocations: 229.5 kB / 0.8992 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008705/2.062, allocations: 88 kB / 0.8993 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00918/2.071, allocations: 3.593 MB / 0.9028 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.062e-06/2.071, allocations: 2 kB / 0.9028 GB, free: 103.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01233/2.084, allocations: 1.792 MB / 0.9045 GB, free: 101.3 MB / 0.4981 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 (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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/2.085, allocations: 232.3 kB / 0.9047 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01725/2.103, allocations: 9.761 MB / 0.9143 GB, free: 91.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/2.103, allocations: 0 / 0.9143 GB, free: 91.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006406/2.109, allocations: 3.782 MB / 0.918 GB, free: 87.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00748/2.117, allocations: 0.7026 MB / 0.9187 GB, free: 86.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/2.151, allocations: 18.54 MB / 0.9368 GB, free: 68.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009282/2.161, allocations: 4.838 MB / 0.9415 GB, free: 63.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00857/2.169, allocations: 2.577 MB / 0.944 GB, free: 60.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/2.172, allocations: 355.3 kB / 0.9443 GB, free: 60.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/2.172, allocations: 0 / 0.9443 GB, free: 60.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.3724/2.544, allocations: 72.95 MB / 1.016 GB, free: 146.1 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: