Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006837/0.006837, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001126/0.001126, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2103/0.2103, allocations: 39.96 MB / 309.9 MB, free: 4.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.001461/0.001461, allocations: 69.62 kB / 435.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.141, allocations: 56.88 MB / 492.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01502/0.1561, allocations: 15.1 MB / 0.4958 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1691, allocations: 4.831 MB / 0.5006 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004803/0.1739, allocations: 95.75 kB / 0.5007 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007444/0.1815, allocations: 3.161 MB / 0.5037 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.1899, allocations: 2.548 MB / 0.5062 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.1931, allocations: 0.9866 MB / 0.5072 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01164/0.2047, allocations: 6.655 MB / 0.5137 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3376/0.5423, allocations: 4.371 MB / 0.518 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006172/0.5485, allocations: 2.24 MB / 0.5201 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008146/0.5567, allocations: 3.263 MB / 0.5233 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003337/0.5601, allocations: 486.6 kB / 0.5238 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007319/0.5675, allocations: 1.48 MB / 0.5252 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007918/0.5754, allocations: 2.879 MB / 0.5281 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01206/0.5875, allocations: 3.262 MB / 0.5312 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.6091, allocations: 10.46 MB / 0.5415 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.6091, allocations: 4 kB / 0.5415 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6091, allocations: 0 / 0.5415 GB, free: 104 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005382/0.6097, allocations: 1.688 kB / 0.5415 GB, free: 104 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02719/0.6369, allocations: 7.319 MB / 0.5486 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.6369, allocations: 12.67 kB / 0.5486 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.6563, allocations: 3.923 MB / 0.5524 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.6688, allocations: 4.291 MB / 0.5566 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.6693, allocations: 322.6 kB / 0.5569 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/0.6722, allocations: 434.2 kB / 0.5574 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/0.7073, allocations: 15.73 MB / 0.5727 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.7076, allocations: 63.17 kB / 0.5728 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.7086, allocations: 202.5 kB / 0.573 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005747/0.7144, allocations: 3.218 MB / 0.5761 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/0.7468, allocations: 14.17 MB / 0.59 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.092/0.8388, allocations: 57.5 MB / 0.6461 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/0.8557, allocations: 6.605 MB / 0.6526 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006417/0.8621, allocations: 3.761 MB / 0.6562 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02997/0.8921, allocations: 14.78 MB / 0.6707 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.633e-05/0.8922, allocations: 60.12 kB / 0.6707 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 6.322e-06/0.8922, allocations: 0 / 0.6707 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.1648/1.057, allocations: 42.56 MB / 0.7123 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.057, allocations: 211.3 kB / 0.7125 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/1.069, allocations: 5.494 MB / 0.7178 GB, free: 448 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.07, allocations: 69.7 kB / 0.7179 GB, free: 372 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004312/1.074, allocations: 4.352 MB / 0.7222 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002727/1.077, allocations: 1.266 MB / 0.7234 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004383/1.081, allocations: 1.852 MB / 0.7252 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/1.081, allocations: 309.1 kB / 0.7255 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008547/1.09, allocations: 4.835 MB / 0.7302 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3852/1.475, allocations: 9.827 MB / 0.7398 GB, free: 190.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02361/1.499, allocations: 15.62 MB / 0.7551 GB, free: 180 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004388/1.499, allocations: 49.03 kB / 0.7551 GB, free: 180 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.05413/1.554, allocations: 19.61 MB / 0.7743 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/1.554, allocations: 81.47 kB / 0.7744 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003654/1.554, allocations: 174.1 kB / 0.7745 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02432/1.579, allocations: 5.94 MB / 0.7803 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008464/1.587, allocations: 2.125 MB / 0.7824 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03013/1.617, allocations: 26.16 MB / 0.8079 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/1.629, allocations: 0.5647 MB / 0.8085 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002577/1.631, allocations: 0.5138 MB / 0.809 GB, free: 146.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009402/1.641, allocations: 3.095 MB / 0.812 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/1.643, allocations: 0.496 MB / 0.8125 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03112/1.674, allocations: 13 MB / 0.8252 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/1.674, allocations: 54.66 kB / 0.8253 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/1.674, allocations: 12 kB / 0.8253 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-05/1.674, allocations: 15.94 kB / 0.8253 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05327/1.727, allocations: 24.61 MB / 0.8493 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.494e-05/1.727, allocations: 8 kB / 0.8493 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/1.731, allocations: 0.5872 MB / 0.8499 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01997/1.751, allocations: 4.962 MB / 0.8547 GB, free: 99.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/1.752, allocations: 61.86 kB / 0.8548 GB, free: 99.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02431/1.776, allocations: 21.37 MB / 0.8757 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.776, allocations: 11.94 kB / 0.8757 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03522/1.812, allocations: 17.58 MB / 0.8928 GB, free: 60.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004477/1.816, allocations: 1.257 MB / 0.8941 GB, free: 59.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/1.818, allocations: 55.94 kB / 0.8941 GB, free: 59.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004354/1.822, allocations: 265.3 kB / 0.8944 GB, free: 58.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009541/1.823, allocations: 197.6 kB / 0.8946 GB, free: 58.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.824, allocations: 84.62 kB / 0.8947 GB, free: 58.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005708/1.829, allocations: 3.418 MB / 0.898 GB, free: 55.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/1.829, allocations: 0 / 0.898 GB, free: 55.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01104/1.84, allocations: 1.77 MB / 0.8997 GB, free: 53.33 MB / 0.5762 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/1.841, allocations: 204.3 kB / 0.8999 GB, free: 53.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.858, allocations: 11.04 MB / 0.9107 GB, free: 42.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.858, allocations: 4 kB / 0.9107 GB, free: 42.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006772/1.865, allocations: 4.134 MB / 0.9147 GB, free: 37.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/1.871, allocations: 0.6196 MB / 0.9153 GB, free: 37.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/1.899, allocations: 16.11 MB / 0.9311 GB, free: 21.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006014/1.906, allocations: 4.632 MB / 0.9356 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006594/1.912, allocations: 2.978 MB / 0.9385 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.914, allocations: 355.4 kB / 0.9388 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/1.914, allocations: 0 / 0.9388 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.4446/2.358, allocations: 77.21 MB / 1.014 GB, free: 145.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)