Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008958/0.0008956, allocations: 91.84 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.015/0.015, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.746/1.746, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.403/0.403, allocations: 40 MB / 310.7 MB, free: 9.574 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.0005685/0.0005685, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1686, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3812/0.5499, allocations: 45.8 MB / 483.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02541/0.5754, allocations: 10.07 MB / 493.3 MB, free: 18.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01191/0.5873, allocations: 208.7 kB / 493.5 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.5896, allocations: 444.7 kB / 493.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.596, allocations: 1.898 MB / 495.8 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.5983, allocations: 0.8383 MB / 496.7 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009928/0.6083, allocations: 7.442 MB / 0.4923 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00922/0.6175, allocations: 4.693 MB / 0.4969 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004516/0.6221, allocations: 1.323 MB / 0.4982 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006477/0.6286, allocations: 2.421 MB / 0.5005 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.6303, allocations: 177.2 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.6355, allocations: 1.28 MB / 0.5019 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004964/0.6405, allocations: 1.983 MB / 0.5039 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007226/0.6477, allocations: 2.214 MB / 0.506 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.6617, allocations: 7.38 MB / 0.5132 GB, free: 5.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.6618, allocations: 0 / 0.5132 GB, free: 5.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.6618, allocations: 0 / 0.5132 GB, free: 5.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.6622, allocations: 0 / 0.5132 GB, free: 5.836 MB / 382.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.02026/0.6824, allocations: 4.6 MB / 0.5177 GB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.6825, allocations: 9.625 kB / 0.5177 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.6964, allocations: 2.527 MB / 0.5202 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.7068, allocations: 3.468 MB / 0.5236 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.7072, allocations: 234.7 kB / 0.5238 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/0.7102, allocations: 339.6 kB / 0.5241 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/0.7411, allocations: 10.91 MB / 0.5348 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/0.7414, allocations: 47.59 kB / 0.5349 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/0.7435, allocations: 151.9 kB / 0.535 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004212/0.7477, allocations: 2.009 MB / 0.537 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/0.7748, allocations: 9.471 MB / 0.5462 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0738/0.8486, allocations: 41.25 MB / 0.5865 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.8619, allocations: 4.295 MB / 0.5907 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/0.8659, allocations: 1.923 MB / 0.5926 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/0.8831, allocations: 7.61 MB / 0.6 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.8833, allocations: 51.56 kB / 0.6 GB, free: 14.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=180): time 8.696e-06/0.8833, allocations: 0 / 0.6 GB, free: 14.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=236): time 0.4982/1.381, allocations: 41.46 MB / 0.6405 GB, free: 144.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/1.382, allocations: 214 kB / 0.6407 GB, free: 144.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008876/1.391, allocations: 4.337 MB / 0.645 GB, free: 143.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008437/1.391, allocations: 63.81 kB / 0.645 GB, free: 143.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/1.394, allocations: 3.168 MB / 0.6481 GB, free: 140.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/1.396, allocations: 0.8749 MB / 0.649 GB, free: 140.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009289/1.396, allocations: 0.5699 MB / 0.6495 GB, free: 140 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.332e-05/1.397, allocations: 305.1 kB / 0.6498 GB, free: 139.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004619/1.401, allocations: 3.629 MB / 0.6534 GB, free: 138.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006831/1.408, allocations: 7.301 MB / 0.6605 GB, free: 132.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/1.426, allocations: 11.62 MB / 0.6718 GB, free: 123.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002051/1.426, allocations: 35.75 kB / 0.6719 GB, free: 123.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.05082/1.477, allocations: 16.22 MB / 0.6877 GB, free: 118.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002501/1.477, allocations: 68.78 kB / 0.6878 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/1.478, allocations: 128 kB / 0.6879 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02495/1.502, allocations: 6.252 MB / 0.694 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006411/1.509, allocations: 1.489 MB / 0.6955 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03428/1.543, allocations: 26.17 MB / 0.721 GB, free: 90.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.553, allocations: 408.6 kB / 0.7214 GB, free: 90.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002984/1.556, allocations: 393.8 kB / 0.7218 GB, free: 90.08 MB / 494.1 MB 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.009017/1.565, allocations: 2.216 MB / 0.7239 GB, free: 87.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/1.568, allocations: 392.6 kB / 0.7243 GB, free: 87.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03188/1.599, allocations: 11.32 MB / 0.7354 GB, free: 76.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/1.6, allocations: 24 kB / 0.7354 GB, free: 76.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-05/1.6, allocations: 15.94 kB / 0.7354 GB, free: 76.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.453e-05/1.6, allocations: 11.95 kB / 0.7354 GB, free: 76.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05351/1.653, allocations: 20.77 MB / 0.7557 GB, free: 54.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.647e-05/1.653, allocations: 4 kB / 0.7557 GB, free: 54.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.656, allocations: 392.2 kB / 0.7561 GB, free: 54.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02083/1.677, allocations: 5.34 MB / 0.7613 GB, free: 49.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008614/1.678, allocations: 40 kB / 0.7613 GB, free: 49.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02862/1.706, allocations: 21.25 MB / 0.7821 GB, free: 27.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/1.706, allocations: 7.938 kB / 0.7821 GB, free: 27.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03323/1.739, allocations: 14.63 MB / 0.7964 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003469/1.743, allocations: 0.9878 MB / 0.7973 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002184/1.745, allocations: 43.98 kB / 0.7974 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004172/1.749, allocations: 183.7 kB / 0.7976 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/1.751, allocations: 156.2 kB / 0.7977 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004814/1.751, allocations: 68.98 kB / 0.7978 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007817/1.759, allocations: 2.725 MB / 0.8004 GB, free: 8.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.052e-06/1.759, allocations: 0 / 0.8004 GB, free: 8.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01157/1.771, allocations: 1.366 MB / 0.8018 GB, free: 7.332 MB / 494.1 MB 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.001191/1.772, allocations: 184.7 kB / 0.8019 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01426/1.786, allocations: 8.317 MB / 0.8101 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.786, allocations: 4 kB / 0.8101 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2861/2.072, allocations: 3.204 MB / 0.8132 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007508/2.08, allocations: 489.4 kB / 0.8137 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/2.107, allocations: 14.15 MB / 0.8275 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005321/2.112, allocations: 3.516 MB / 0.8309 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005719/2.118, allocations: 1.967 MB / 0.8328 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.119, allocations: 265.5 kB / 0.8331 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.843e-06/2.119, allocations: 0 / 0.8331 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1266/2.246, allocations: 66.36 MB / 0.8979 GB, free: 106.5 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) Environment - environmentSimulation: