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.005557/0.005557, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001179/0.001179, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.474/1.474, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3334/0.3334, allocations: 38 MB / 307.9 MB, free: 10.1 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.001431/0.001431, allocations: 75.89 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3389, allocations: 56.46 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01214/0.3511, allocations: 12.11 MB / 0.4898 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3625, allocations: 4.305 MB / 0.494 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004388/0.3669, allocations: 80.81 kB / 0.4941 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006989/0.374, allocations: 2.734 MB / 0.4967 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007401/0.3815, allocations: 2.078 MB / 0.4988 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.3845, allocations: 0.9092 MB / 0.4997 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00917/0.3937, allocations: 5.255 MB / 0.5048 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006673/0.4004, allocations: 3.368 MB / 0.5081 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.4046, allocations: 1.737 MB / 0.5098 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/0.4096, allocations: 2.536 MB / 0.5123 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001947/0.4116, allocations: 385.2 kB / 0.5126 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004894/0.4165, allocations: 1.404 MB / 0.514 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004165/0.4207, allocations: 2.227 MB / 0.5162 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006319/0.427, allocations: 2.443 MB / 0.5186 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.4401, allocations: 7.915 MB / 0.5263 GB, free: 1.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4401, allocations: 0 / 0.5263 GB, free: 1.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4401, allocations: 0 / 0.5263 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003129/0.4405, allocations: 4 kB / 0.5263 GB, free: 1.938 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.01615/0.4566, allocations: 5.521 MB / 0.5317 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4567, allocations: 11.89 kB / 0.5317 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.4682, allocations: 2.483 MB / 0.5341 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009388/0.4777, allocations: 3.528 MB / 0.5376 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.4779, allocations: 234.5 kB / 0.5378 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.48, allocations: 343.6 kB / 0.5381 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.5046, allocations: 10.88 MB / 0.5487 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003467/0.505, allocations: 47.58 kB / 0.5488 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/0.5067, allocations: 155.9 kB / 0.5489 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/0.5101, allocations: 2.002 MB / 0.5509 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/0.5317, allocations: 9.44 MB / 0.5601 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0643/0.596, allocations: 41.06 MB / 0.6002 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.6082, allocations: 4.274 MB / 0.6044 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.6113, allocations: 1.931 MB / 0.6063 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/0.6242, allocations: 7.61 MB / 0.6137 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.6243, allocations: 55.56 kB / 0.6138 GB, free: 5.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 5.16e-06/0.6243, allocations: 0 / 0.6138 GB, free: 5.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.4521/1.076, allocations: 40.96 MB / 0.6538 GB, free: 122 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/1.077, allocations: 207.6 kB / 0.654 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/1.084, allocations: 4.339 MB / 0.6582 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006705/1.084, allocations: 64.88 kB / 0.6583 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.086, allocations: 3.168 MB / 0.6613 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.087, allocations: 0.8809 MB / 0.6622 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001905/1.089, allocations: 1.359 MB / 0.6635 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/1.089, allocations: 305.1 kB / 0.6638 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00519/1.095, allocations: 3.626 MB / 0.6674 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/1.101, allocations: 7.295 MB / 0.6745 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.112, allocations: 11.62 MB / 0.6858 GB, free: 98.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.113, allocations: 34.91 kB / 0.6859 GB, free: 98.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03267/1.145, allocations: 16.21 MB / 0.7017 GB, free: 85.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/1.146, allocations: 60 kB / 0.7018 GB, free: 85.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/1.146, allocations: 128 kB / 0.7019 GB, free: 85.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.167, allocations: 6.222 MB / 0.708 GB, free: 79.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/1.172, allocations: 1.493 MB / 0.7094 GB, free: 77.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/1.202, allocations: 27.63 MB / 0.7364 GB, free: 50 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/1.209, allocations: 415.3 kB / 0.7368 GB, free: 49.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/1.211, allocations: 391.9 kB / 0.7372 GB, free: 49.21 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.005362/1.216, allocations: 2.218 MB / 0.7393 GB, free: 46.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/1.218, allocations: 390.9 kB / 0.7397 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02639/1.244, allocations: 11.3 MB / 0.7507 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.782e-05/1.244, allocations: 27.94 kB / 0.7508 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/1.244, allocations: 12 kB / 0.7508 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-05/1.244, allocations: 15.95 kB / 0.7508 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04099/1.285, allocations: 20.66 MB / 0.771 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/1.285, allocations: 8 kB / 0.771 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/1.288, allocations: 389.1 kB / 0.7713 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01918/1.307, allocations: 5.312 MB / 0.7765 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.307, allocations: 43.91 kB / 0.7766 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02871/1.336, allocations: 22.68 MB / 0.7987 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.336, allocations: 7.938 kB / 0.7987 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03316/1.369, allocations: 14.61 MB / 0.813 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003579/1.373, allocations: 0.9839 MB / 0.814 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.375, allocations: 40 kB / 0.814 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/1.378, allocations: 179.7 kB / 0.8142 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009644/1.379, allocations: 157 kB / 0.8143 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/1.379, allocations: 67.44 kB / 0.8144 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005593/1.385, allocations: 2.721 MB / 0.817 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.385, allocations: 0.8438 kB / 0.817 GB, free: 14.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008311/1.393, allocations: 1.374 MB / 0.8184 GB, free: 13.15 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.000843/1.394, allocations: 188.1 kB / 0.8186 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.408, allocations: 8.34 MB / 0.8267 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.408, allocations: 5.188 kB / 0.8267 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005158/1.413, allocations: 3.213 MB / 0.8299 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/1.419, allocations: 0.5099 MB / 0.8304 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.444, allocations: 11.85 MB / 0.8419 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006427/1.451, allocations: 3.512 MB / 0.8454 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.2658/1.716, allocations: 1.962 MB / 0.8473 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.718, allocations: 264.5 kB / 0.8475 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.718, allocations: 3.875 kB / 0.8475 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1112/1.829, allocations: 66.88 MB / 0.9128 GB, free: 138.7 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)