Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009103, 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.007911/0.007911, allocations: 171.7 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.53/1.53, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.2983/0.2983, allocations: 38.04 MB / 308.8 MB, free: 10.14 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.0006263/0.0006263, allocations: 12 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.116, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2455/0.3615, allocations: 60.87 MB / 495.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02649/0.388, allocations: 12.88 MB / 0.4964 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01431/0.4024, allocations: 272.5 kB / 0.4967 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.4043, allocations: 0.5051 MB / 0.4971 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.409, allocations: 2.068 MB / 0.4992 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.4107, allocations: 1.005 MB / 0.5001 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009635/0.4203, allocations: 8.656 MB / 0.5086 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008083/0.4285, allocations: 6.317 MB / 0.5148 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.431, allocations: 1.529 MB / 0.5163 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.4344, allocations: 2.58 MB / 0.5188 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.4349, allocations: 173.5 kB / 0.519 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.4371, allocations: 1.278 MB / 0.5202 GB, free: 492 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002027/0.4392, allocations: 2.2 MB / 0.5223 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.4416, allocations: 2.477 MB / 0.5248 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00768/0.4492, allocations: 8.23 MB / 0.5328 GB, free: 7.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4493, allocations: 0 / 0.5328 GB, free: 7.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4493, allocations: 0 / 0.5328 GB, free: 7.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.4495, allocations: 0 / 0.5328 GB, free: 7.434 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01072/0.4602, allocations: 5.178 MB / 0.5379 GB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4603, allocations: 8.031 kB / 0.5379 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.4708, allocations: 2.579 MB / 0.5404 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/0.4781, allocations: 4.039 MB / 0.5443 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.4783, allocations: 279.9 kB / 0.5446 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006949/0.479, allocations: 387.6 kB / 0.545 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.4966, allocations: 12.02 MB / 0.5567 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.4967, allocations: 63.42 kB / 0.5568 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004262/0.4971, allocations: 179.9 kB / 0.5569 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/0.5001, allocations: 2.14 MB / 0.559 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.5172, allocations: 10.39 MB / 0.5692 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06015/0.5774, allocations: 47.55 MB / 0.6156 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01469/0.5921, allocations: 5.829 MB / 0.6213 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003999/0.5961, allocations: 2.97 MB / 0.6242 GB, free: 7.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2234/0.8196, allocations: 8.865 MB / 0.6329 GB, free: 142.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.8197, allocations: 61.08 kB / 0.6329 GB, free: 142.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.509e-06/0.8197, allocations: 0 / 0.6329 GB, free: 142.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1107/0.9304, allocations: 35.03 MB / 0.6671 GB, free: 136.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.9305, allocations: 214.8 kB / 0.6673 GB, free: 136.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008468/0.939, allocations: 4.806 MB / 0.672 GB, free: 134.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/0.9402, allocations: 66.08 kB / 0.6721 GB, free: 134.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003552/0.9438, allocations: 3.545 MB / 0.6755 GB, free: 131.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001713/0.9455, allocations: 0.9718 MB / 0.6765 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009425/0.9464, allocations: 0.6006 MB / 0.6771 GB, free: 130.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.9465, allocations: 310.1 kB / 0.6774 GB, free: 130.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/0.9508, allocations: 3.176 MB / 0.6805 GB, free: 129.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/0.9558, allocations: 7.04 MB / 0.6873 GB, free: 122.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009689/0.9656, allocations: 10.94 MB / 0.698 GB, free: 114.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.47e-05/0.9657, allocations: 38.34 kB / 0.6981 GB, free: 114.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02288/0.9886, allocations: 13.75 MB / 0.7115 GB, free: 102.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/0.9887, allocations: 72.19 kB / 0.7116 GB, free: 102.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.9888, allocations: 136 kB / 0.7117 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/1, allocations: 4.395 MB / 0.716 GB, free: 97.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004345/1.005, allocations: 1.486 MB / 0.7174 GB, free: 96.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03013/1.035, allocations: 26.84 MB / 0.7437 GB, free: 69.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006009/1.041, allocations: 423.3 kB / 0.7441 GB, free: 68.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.042, allocations: 411.2 kB / 0.7445 GB, free: 68.29 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004662/1.046, allocations: 2.472 MB / 0.7469 GB, free: 65.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.048, allocations: 446.3 kB / 0.7473 GB, free: 65.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.063, allocations: 8.479 MB / 0.7556 GB, free: 56.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/1.063, allocations: 28 kB / 0.7556 GB, free: 56.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/1.063, allocations: 16 kB / 0.7556 GB, free: 56.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/1.063, allocations: 11.95 kB / 0.7556 GB, free: 56.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/1.097, allocations: 17.08 MB / 0.7723 GB, free: 39.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/1.097, allocations: 8.594 kB / 0.7723 GB, free: 39.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.099, allocations: 303.5 kB / 0.7726 GB, free: 39.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/1.109, allocations: 4.11 MB / 0.7766 GB, free: 35.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005171/1.11, allocations: 47.12 kB / 0.7767 GB, free: 35.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/1.139, allocations: 25.64 MB / 0.8017 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.139, allocations: 15.92 kB / 0.8017 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/1.16, allocations: 12.43 MB / 0.8139 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2364/1.397, allocations: 0.961 MB / 0.8148 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/1.398, allocations: 50.11 kB / 0.8148 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/1.401, allocations: 170.4 kB / 0.815 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009642/1.402, allocations: 200.7 kB / 0.8152 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.403, allocations: 68.38 kB / 0.8153 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004631/1.407, allocations: 3.031 MB / 0.8182 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.407, allocations: 3.812 kB / 0.8182 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007673/1.415, allocations: 1.463 MB / 0.8197 GB, free: 144.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006094/1.416, allocations: 190.9 kB / 0.8198 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.428, allocations: 8.407 MB / 0.828 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.428, allocations: 3 kB / 0.828 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005393/1.434, allocations: 3.566 MB / 0.8315 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/1.441, allocations: 0.5431 MB / 0.8321 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/1.462, allocations: 15.09 MB / 0.8468 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004433/1.467, allocations: 3.931 MB / 0.8506 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00491/1.472, allocations: 2 MB / 0.8526 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/1.473, allocations: 284.3 kB / 0.8529 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/1.473, allocations: 0 / 0.8529 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.09644/1.569, allocations: 68.39 MB / 0.9196 GB, free: 86.74 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) Environment - environmentSimulation: