Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.0007781, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005296/0.005296, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.494/1.494, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3333/0.3333, allocations: 38.03 MB / 308.8 MB, free: 10.3 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.0005285/0.0005286, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 57.51 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2499/0.3584, allocations: 42.27 MB / 476.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.3804, allocations: 9.593 MB / 486.4 MB, free: 24.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01119/0.3916, allocations: 185.3 kB / 486.6 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.3935, allocations: 462.8 kB / 487.1 MB, free: 24.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.3988, allocations: 1.917 MB / 489 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.4013, allocations: 0.9417 MB / 489.9 MB, free: 23.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00748/0.4088, allocations: 7.2 MB / 497.1 MB, free: 21.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007702/0.4165, allocations: 4.504 MB / 0.4899 GB, free: 19.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.4206, allocations: 1.368 MB / 0.4912 GB, free: 18.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/0.4261, allocations: 2.361 MB / 0.4935 GB, free: 18.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.4273, allocations: 173.1 kB / 0.4937 GB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.4315, allocations: 1.295 MB / 0.4949 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004889/0.4364, allocations: 2.013 MB / 0.4969 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005919/0.4423, allocations: 2.28 MB / 0.4991 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.4569, allocations: 7.535 MB / 0.5065 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4569, allocations: 1.188 kB / 0.5065 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4569, allocations: 0 / 0.5065 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00037/0.4573, allocations: 0 / 0.5065 GB, free: 12.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01679/0.4741, allocations: 4.79 MB / 0.5112 GB, free: 9.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4741, allocations: 8.969 kB / 0.5112 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01819/0.4923, allocations: 2.664 MB / 0.5138 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/0.5, allocations: 3.244 MB / 0.5169 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.5001, allocations: 259.8 kB / 0.5172 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008793/0.501, allocations: 356.4 kB / 0.5175 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.5226, allocations: 12.38 MB / 0.5296 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/0.5228, allocations: 51.53 kB / 0.5297 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005037/0.5233, allocations: 159.8 kB / 0.5298 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003902/0.5272, allocations: 2.389 MB / 0.5322 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.5497, allocations: 10.86 MB / 0.5428 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06435/0.6141, allocations: 48.84 MB / 0.5905 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.6298, allocations: 6.056 MB / 0.5964 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/0.6343, allocations: 3.299 MB / 0.5996 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01994/0.6542, allocations: 13.53 MB / 0.6128 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.6543, allocations: 51.88 kB / 0.6129 GB, free: 2.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=204): time 5.4e-06/0.6543, allocations: 0 / 0.6129 GB, free: 2.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.3227/0.977, allocations: 36.43 MB / 0.6484 GB, free: 144.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.9771, allocations: 212.5 kB / 0.6486 GB, free: 144.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006022/0.9832, allocations: 4.391 MB / 0.6529 GB, free: 142.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006535/0.9838, allocations: 66.44 kB / 0.653 GB, free: 142.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.9856, allocations: 3.376 MB / 0.6563 GB, free: 140.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.9868, allocations: 0.9917 MB / 0.6573 GB, free: 139.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007536/0.9876, allocations: 0.5937 MB / 0.6578 GB, free: 139.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.9876, allocations: 304.1 kB / 0.6581 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004368/0.992, allocations: 3.287 MB / 0.6613 GB, free: 137.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007097/0.9991, allocations: 7.2 MB / 0.6684 GB, free: 131.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/1.012, allocations: 11.23 MB / 0.6793 GB, free: 122.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001852/1.013, allocations: 43.38 kB / 0.6794 GB, free: 122.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02909/1.042, allocations: 13.28 MB / 0.6923 GB, free: 118.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.042, allocations: 64.64 kB / 0.6924 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/1.042, allocations: 139.9 kB / 0.6925 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009337/1.051, allocations: 3.415 MB / 0.6959 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/1.056, allocations: 1.577 MB / 0.6974 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.076, allocations: 16.41 MB / 0.7134 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006619/1.082, allocations: 435.3 kB / 0.7139 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007606/1.083, allocations: 408 kB / 0.7142 GB, free: 101.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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 {(5,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004168/1.087, allocations: 2.353 MB / 0.7165 GB, free: 98.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007011/1.088, allocations: 406.8 kB / 0.7169 GB, free: 98.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.102, allocations: 7.998 MB / 0.7247 GB, free: 90.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/1.102, allocations: 38.28 kB / 0.7248 GB, free: 90.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.102, allocations: 8 kB / 0.7248 GB, free: 90.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.851e-05/1.102, allocations: 23.33 kB / 0.7248 GB, free: 90.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.125, allocations: 15.54 MB / 0.74 GB, free: 74.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.125, allocations: 0 / 0.74 GB, free: 74.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/1.127, allocations: 388.5 kB / 0.7404 GB, free: 74.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008401/1.135, allocations: 3.169 MB / 0.7435 GB, free: 71.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004328/1.136, allocations: 48.48 kB / 0.7435 GB, free: 71.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/1.153, allocations: 14.68 MB / 0.7578 GB, free: 56.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.153, allocations: 0 / 0.7578 GB, free: 56.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.172, allocations: 12.15 MB / 0.7697 GB, free: 44.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/1.174, allocations: 0.937 MB / 0.7706 GB, free: 43.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007206/1.175, allocations: 43.98 kB / 0.7707 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/1.177, allocations: 195.7 kB / 0.7709 GB, free: 43.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/1.178, allocations: 146.2 kB / 0.771 GB, free: 43.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.178, allocations: 71.92 kB / 0.7711 GB, free: 42.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003683/1.182, allocations: 2.749 MB / 0.7737 GB, free: 40.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.182, allocations: 0 / 0.7737 GB, free: 40.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006609/1.188, allocations: 1.373 MB / 0.7751 GB, free: 38.82 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005745/1.189, allocations: 177.5 kB / 0.7753 GB, free: 38.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01102/1.2, allocations: 8.185 MB / 0.7832 GB, free: 30.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.2, allocations: 0 / 0.7832 GB, free: 30.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004204/1.204, allocations: 3.308 MB / 0.7865 GB, free: 27.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.208, allocations: 472.5 kB / 0.7869 GB, free: 26.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/1.226, allocations: 14.43 MB / 0.801 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003167/1.229, allocations: 3.675 MB / 0.8046 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004778/1.234, allocations: 2.181 MB / 0.8067 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/1.235, allocations: 291.4 kB / 0.807 GB, free: 6.059 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/1.235, allocations: 0 / 0.807 GB, free: 6.059 MB / 494.1 MB Notification: Performance of Templates: time 0.3507/1.585, allocations: 57.08 MB / 0.8628 GB, free: 120.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: