Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007331/0.007331, allocations: 106.4 kB / 15.74 MB, free: 6.035 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.00143/0.001431, allocations: 196 kB / 16.67 MB, free: 5.969 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3503/0.3503, allocations: 38 MB / 307.9 MB, free: 10.07 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.001635/0.001635, allocations: 71.88 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.303, allocations: 56.47 MB / 489.4 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01576/0.3188, allocations: 16.05 MB / 0.4936 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.3321, allocations: 5.461 MB / 0.499 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005663/0.3378, allocations: 108.3 kB / 0.4991 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009547/0.3474, allocations: 5.131 MB / 0.5041 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.3568, allocations: 2.625 MB / 0.5067 GB, free: 232 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.3613, allocations: 1.394 MB / 0.508 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01449/0.3758, allocations: 7.591 MB / 0.5154 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00975/0.3856, allocations: 7.033 MB / 0.5223 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006034/0.3917, allocations: 2.785 MB / 0.525 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.3983, allocations: 3.763 MB / 0.5287 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00201/0.4003, allocations: 0.6367 MB / 0.5293 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003883/0.4042, allocations: 1.791 MB / 0.5311 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00395/0.4082, allocations: 3.383 MB / 0.5344 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005627/0.4139, allocations: 3.714 MB / 0.538 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01874/0.4326, allocations: 12 MB / 0.5497 GB, free: 9.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4327, allocations: 3.938 kB / 0.5497 GB, free: 9.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4327, allocations: 0 / 0.5497 GB, free: 9.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005685/0.4333, allocations: 0 / 0.5497 GB, free: 9.848 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.02206/0.4553, allocations: 7.928 MB / 0.5575 GB, free: 1.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4554, allocations: 11.89 kB / 0.5575 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.4706, allocations: 3.057 MB / 0.5605 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.4847, allocations: 5.275 MB / 0.5656 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/0.4852, allocations: 382.2 kB / 0.566 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002548/0.4878, allocations: 0.5113 MB / 0.5665 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/0.5233, allocations: 15.51 MB / 0.5816 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/0.5237, allocations: 67.42 kB / 0.5817 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/0.5261, allocations: 235.8 kB / 0.5819 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004418/0.5305, allocations: 2.548 MB / 0.5844 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02981/0.5603, allocations: 13.1 MB / 0.5972 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.339/0.8994, allocations: 57.32 MB / 0.6532 GB, free: 89.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/0.9175, allocations: 6.373 MB / 0.6594 GB, free: 88.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006123/0.9237, allocations: 3.447 MB / 0.6628 GB, free: 87.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02158/0.9453, allocations: 11.58 MB / 0.6741 GB, free: 81.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/0.9454, allocations: 61.66 kB / 0.6741 GB, free: 81.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 5.661e-06/0.9454, allocations: 3.719 kB / 0.6741 GB, free: 81.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=343): time 0.1269/1.072, allocations: 39.6 MB / 0.7128 GB, free: 58.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/1.073, allocations: 243.9 kB / 0.713 GB, free: 58.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006961/1.079, allocations: 5.743 MB / 0.7186 GB, free: 52.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008288/1.08, allocations: 77.7 kB / 0.7187 GB, free: 52.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002143/1.082, allocations: 4.352 MB / 0.723 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.084, allocations: 1.26 MB / 0.7242 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002302/1.086, allocations: 1.749 MB / 0.7259 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/1.086, allocations: 309.1 kB / 0.7262 GB, free: 45.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/1.091, allocations: 4.093 MB / 0.7302 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006037/1.097, allocations: 8.661 MB / 0.7387 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/1.109, allocations: 13.56 MB / 0.7519 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.745e-05/1.109, allocations: 44 kB / 0.7519 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03109/1.14, allocations: 16.39 MB / 0.7679 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.141, allocations: 72 kB / 0.768 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002502/1.141, allocations: 156 kB / 0.7682 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01409/1.155, allocations: 4.284 MB / 0.7723 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006828/1.162, allocations: 1.899 MB / 0.7742 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03259/1.195, allocations: 21.55 MB / 0.7952 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008809/1.203, allocations: 0.5032 MB / 0.7957 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/1.205, allocations: 480 kB / 0.7962 GB, free: 0.8008 MB / 0.5294 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.008971/1.214, allocations: 3.126 MB / 0.7992 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/1.217, allocations: 0.5168 MB / 0.7997 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02288/1.24, allocations: 10.12 MB / 0.8096 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.586e-05/1.24, allocations: 32 kB / 0.8097 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.419e-05/1.24, allocations: 16 kB / 0.8097 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-05/1.24, allocations: 16.88 kB / 0.8097 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04641/1.286, allocations: 20.06 MB / 0.8293 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/1.286, allocations: 8 kB / 0.8293 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002773/1.289, allocations: 500 kB / 0.8298 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/1.303, allocations: 3.84 MB / 0.8335 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/1.304, allocations: 71.98 kB / 0.8336 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03194/1.336, allocations: 19.1 MB / 0.8522 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/1.336, allocations: 12.06 kB / 0.8523 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3341/1.67, allocations: 14.9 MB / 0.8668 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004003/1.674, allocations: 1.171 MB / 0.8679 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/1.676, allocations: 66.22 kB / 0.868 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/1.679, allocations: 228.2 kB / 0.8682 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008701/1.68, allocations: 228.5 kB / 0.8684 GB, free: 197 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/1.68, allocations: 95.2 kB / 0.8685 GB, free: 197 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00774/1.688, allocations: 3.63 MB / 0.8721 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.11e-07/1.688, allocations: 0 / 0.8721 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01163/1.7, allocations: 1.791 MB / 0.8738 GB, free: 195.6 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.001215/1.701, allocations: 256.1 kB / 0.8741 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01885/1.72, allocations: 9.846 MB / 0.8837 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/1.72, allocations: 1.188 kB / 0.8837 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006692/1.727, allocations: 3.79 MB / 0.8874 GB, free: 190 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005089/1.732, allocations: 0.7268 MB / 0.8881 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.757, allocations: 15.93 MB / 0.9037 GB, free: 183 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005196/1.763, allocations: 4.831 MB / 0.9084 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005744/1.768, allocations: 2.583 MB / 0.9109 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.77, allocations: 357.1 kB / 0.9112 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/1.77, allocations: 0 / 0.9112 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.122/1.892, allocations: 75.49 MB / 0.985 GB, free: 109.5 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)