Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001429/0.001429, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 187.5 kB / 16.25 MB, free: 6.629 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.502/1.502, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3243/0.3243, allocations: 37.98 MB / 307.4 MB, free: 10.17 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.001354/0.001354, allocations: 62.41 kB / 374.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 56.47 MB / 431.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2735/0.4005, allocations: 53.5 MB / 484.7 MB, free: 23.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02778/0.4283, allocations: 11.13 MB / 495.8 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01592/0.4444, allocations: 228.8 kB / 496 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006393/0.4508, allocations: 3.025 MB / 499.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.4601, allocations: 2.393 MB / 0.4897 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.4633, allocations: 0.9428 MB / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01403/0.4773, allocations: 6.881 MB / 0.4973 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.4878, allocations: 4.599 MB / 0.5018 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007499/0.4954, allocations: 2.284 MB / 0.5041 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009175/0.5046, allocations: 3.603 MB / 0.5076 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003875/0.5086, allocations: 486.6 kB / 0.5081 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007489/0.5161, allocations: 1.506 MB / 0.5095 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00753/0.5237, allocations: 2.917 MB / 0.5124 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01202/0.5357, allocations: 3.29 MB / 0.5156 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02153/0.5573, allocations: 10.16 MB / 0.5255 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.5574, allocations: 0 / 0.5255 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5574, allocations: 0 / 0.5255 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005887/0.558, allocations: 0 / 0.5255 GB, free: 12.58 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02722/0.5853, allocations: 7.334 MB / 0.5327 GB, free: 5.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.5853, allocations: 11.89 kB / 0.5327 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01893/0.6043, allocations: 3.935 MB / 0.5365 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01587/0.6202, allocations: 4.22 MB / 0.5406 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.6208, allocations: 320.6 kB / 0.5409 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003143/0.6239, allocations: 427.6 kB / 0.5414 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03797/0.6619, allocations: 15.73 MB / 0.5567 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003427/0.6623, allocations: 63.42 kB / 0.5568 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00262/0.665, allocations: 203.8 kB / 0.557 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005541/0.6705, allocations: 3.22 MB / 0.5601 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03152/0.7021, allocations: 14.18 MB / 0.574 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3284/1.031, allocations: 57.77 MB / 0.6304 GB, free: 129.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/1.044, allocations: 6.607 MB / 0.6368 GB, free: 128.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/1.048, allocations: 3.754 MB / 0.6405 GB, free: 128.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02148/1.07, allocations: 14.78 MB / 0.6549 GB, free: 120.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/1.07, allocations: 67.06 kB / 0.655 GB, free: 120.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=292): time 9.057e-06/1.07, allocations: 0 / 0.655 GB, free: 120.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=342): time 0.152/1.222, allocations: 42.54 MB / 0.6965 GB, free: 109.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.222, allocations: 219.4 kB / 0.6967 GB, free: 109.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.233, allocations: 5.488 MB / 0.7021 GB, free: 106.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/1.234, allocations: 69.39 kB / 0.7022 GB, free: 106.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003157/1.237, allocations: 4.353 MB / 0.7064 GB, free: 102.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002208/1.24, allocations: 1.266 MB / 0.7077 GB, free: 101.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005004/1.245, allocations: 1.857 MB / 0.7095 GB, free: 100.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.859e-05/1.245, allocations: 309.1 kB / 0.7098 GB, free: 100.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006491/1.251, allocations: 4.833 MB / 0.7145 GB, free: 95.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009754/1.261, allocations: 9.824 MB / 0.7241 GB, free: 83.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/1.278, allocations: 15.62 MB / 0.7393 GB, free: 65.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002658/1.279, allocations: 48 kB / 0.7394 GB, free: 65.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04596/1.325, allocations: 19.63 MB / 0.7585 GB, free: 46.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/1.325, allocations: 76 kB / 0.7586 GB, free: 46.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004641/1.326, allocations: 176 kB / 0.7588 GB, free: 45.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02038/1.346, allocations: 5.946 MB / 0.7646 GB, free: 39.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00771/1.354, allocations: 2.125 MB / 0.7667 GB, free: 37.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02771/1.381, allocations: 26.16 MB / 0.7922 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009081/1.391, allocations: 0.5578 MB / 0.7928 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002244/1.393, allocations: 0.5116 MB / 0.7933 GB, free: 10.31 MB / 494.1 MB 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.008852/1.402, allocations: 3.11 MB / 0.7963 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00236/1.404, allocations: 0.4897 MB / 0.7968 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03251/1.437, allocations: 13.01 MB / 0.8095 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.437, allocations: 59.81 kB / 0.8095 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/1.437, allocations: 8 kB / 0.8095 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.372e-05/1.437, allocations: 15.94 kB / 0.8096 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3029/1.74, allocations: 24.69 MB / 0.8337 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/1.74, allocations: 2.938 kB / 0.8337 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/1.743, allocations: 0.5821 MB / 0.8342 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01839/1.761, allocations: 4.969 MB / 0.8391 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.763, allocations: 54.67 kB / 0.8391 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03188/1.794, allocations: 21.35 MB / 0.86 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.794, allocations: 9.5 kB / 0.86 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03805/1.833, allocations: 17.59 MB / 0.8772 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005033/1.838, allocations: 1.25 MB / 0.8784 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002637/1.84, allocations: 58.78 kB / 0.8785 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005517/1.846, allocations: 266.5 kB / 0.8787 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/1.848, allocations: 196.5 kB / 0.8789 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001099/1.849, allocations: 87.69 kB / 0.879 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008874/1.858, allocations: 3.415 MB / 0.8823 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.858, allocations: 0 / 0.8823 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01171/1.87, allocations: 1.761 MB / 0.884 GB, free: 117.3 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 (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.00173/1.871, allocations: 212 kB / 0.8842 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02939/1.901, allocations: 15.91 MB / 0.8998 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/1.901, allocations: 4 kB / 0.8998 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0073/1.908, allocations: 4.126 MB / 0.9038 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01005/1.918, allocations: 0.6253 MB / 0.9044 GB, free: 99.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03797/1.956, allocations: 19.31 MB / 0.9233 GB, free: 80.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/1.967, allocations: 4.626 MB / 0.9278 GB, free: 75.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01111/1.978, allocations: 2.978 MB / 0.9307 GB, free: 72.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/1.981, allocations: 355.4 kB / 0.931 GB, free: 72.36 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/1.981, allocations: 0 / 0.931 GB, free: 72.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.4007/2.382, allocations: 81.4 MB / 1.011 GB, free: 134.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1)