Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006417/0.006417, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.00115/0.00115, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.453/1.453, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3671/0.3671, allocations: 38 MB / 307.9 MB, free: 10.12 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.00157/0.00157, allocations: 71.84 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3592, allocations: 56.46 MB / 489.4 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01212/0.3714, allocations: 12.12 MB / 0.4898 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.382, allocations: 4.308 MB / 0.494 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003595/0.3857, allocations: 71.91 kB / 0.4941 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005718/0.3915, allocations: 2.746 MB / 0.4968 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007201/0.3987, allocations: 2.01 MB / 0.4987 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.4013, allocations: 0.9167 MB / 0.4996 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01056/0.4118, allocations: 5.242 MB / 0.5047 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006478/0.4184, allocations: 3.368 MB / 0.508 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.4238, allocations: 1.737 MB / 0.5097 GB, free: 176 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006513/0.4303, allocations: 2.529 MB / 0.5122 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.4321, allocations: 385.6 kB / 0.5126 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.4366, allocations: 1.401 MB / 0.5139 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003523/0.4402, allocations: 2.193 MB / 0.5161 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.4443, allocations: 2.447 MB / 0.5185 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.4557, allocations: 7.907 MB / 0.5262 GB, free: 2.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.4557, allocations: 0 / 0.5262 GB, free: 2.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4557, allocations: 0 / 0.5262 GB, free: 2.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003046/0.456, allocations: 7.922 kB / 0.5262 GB, free: 2.18 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01497/0.471, allocations: 5.532 MB / 0.5316 GB, free: 12.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4711, allocations: 11.89 kB / 0.5316 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4826, allocations: 2.475 MB / 0.534 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.4927, allocations: 3.528 MB / 0.5375 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.4931, allocations: 234.5 kB / 0.5377 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.4948, allocations: 335.7 kB / 0.538 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.5162, allocations: 10.88 MB / 0.5486 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.5165, allocations: 51.58 kB / 0.5487 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004903/0.517, allocations: 151.9 kB / 0.5488 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003209/0.5202, allocations: 2.006 MB / 0.5508 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.5403, allocations: 9.44 MB / 0.56 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05842/0.5988, allocations: 41.07 MB / 0.6001 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6105, allocations: 4.266 MB / 0.6043 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.6135, allocations: 1.923 MB / 0.6062 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/0.6274, allocations: 7.622 MB / 0.6136 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.6275, allocations: 59.55 kB / 0.6137 GB, free: 5.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 4.628e-06/0.6275, allocations: 0 / 0.6137 GB, free: 5.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.4791/1.107, allocations: 40.96 MB / 0.6537 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.107, allocations: 211.1 kB / 0.6539 GB, free: 122 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006893/1.114, allocations: 4.338 MB / 0.6581 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007569/1.114, allocations: 57.67 kB / 0.6582 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.117, allocations: 3.167 MB / 0.6612 GB, free: 118 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.118, allocations: 0.8837 MB / 0.6621 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002149/1.12, allocations: 1.351 MB / 0.6634 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/1.12, allocations: 306.2 kB / 0.6637 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006124/1.127, allocations: 3.628 MB / 0.6673 GB, free: 115 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00782/1.134, allocations: 7.3 MB / 0.6744 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/1.148, allocations: 11.63 MB / 0.6857 GB, free: 98.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.148, allocations: 34.81 kB / 0.6858 GB, free: 98.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.04022/1.188, allocations: 16.2 MB / 0.7016 GB, free: 86.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-05/1.188, allocations: 60 kB / 0.7017 GB, free: 86.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/1.188, allocations: 128 kB / 0.7018 GB, free: 85.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02308/1.212, allocations: 6.227 MB / 0.7079 GB, free: 79.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/1.217, allocations: 1.493 MB / 0.7093 GB, free: 78.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/1.247, allocations: 27.63 MB / 0.7363 GB, free: 50.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007983/1.255, allocations: 411.2 kB / 0.7367 GB, free: 49.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.257, allocations: 384 kB / 0.7371 GB, free: 49.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004254/1.261, allocations: 2.231 MB / 0.7392 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.262, allocations: 390.9 kB / 0.7396 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02818/1.29, allocations: 11.29 MB / 0.7506 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.013e-05/1.291, allocations: 31.94 kB / 0.7507 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/1.291, allocations: 8 kB / 0.7507 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.205e-05/1.291, allocations: 11.95 kB / 0.7507 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04277/1.333, allocations: 20.66 MB / 0.7709 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/1.334, allocations: 8 kB / 0.7709 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.336, allocations: 387.6 kB / 0.7712 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02058/1.356, allocations: 5.308 MB / 0.7764 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005772/1.357, allocations: 47.98 kB / 0.7765 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02834/1.385, allocations: 22.7 MB / 0.7986 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.385, allocations: 7.938 kB / 0.7986 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03378/1.419, allocations: 14.6 MB / 0.8129 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/1.423, allocations: 0.984 MB / 0.8139 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/1.424, allocations: 39.98 kB / 0.8139 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.427, allocations: 179.7 kB / 0.8141 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007666/1.428, allocations: 149 kB / 0.8142 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.428, allocations: 71.98 kB / 0.8143 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004225/1.432, allocations: 2.725 MB / 0.817 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.432, allocations: 0 / 0.817 GB, free: 14.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006915/1.439, allocations: 1.37 MB / 0.8183 GB, free: 13.5 MB / 0.545 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005893/1.44, allocations: 184.2 kB / 0.8185 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.452, allocations: 8.339 MB / 0.8266 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.452, allocations: 4 kB / 0.8266 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/1.457, allocations: 3.214 MB / 0.8298 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.461, allocations: 0.5041 MB / 0.8302 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.48, allocations: 11.86 MB / 0.8418 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.484, allocations: 3.515 MB / 0.8453 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.2703/1.754, allocations: 1.951 MB / 0.8472 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/1.756, allocations: 267.9 kB / 0.8474 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/1.756, allocations: 2.344 kB / 0.8474 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1116/1.868, allocations: 66.88 MB / 0.9127 GB, free: 138.9 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1)