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.0007736/0.0007736, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008411/0.0008412, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.2864/0.2864, allocations: 38.03 MB / 308.4 MB, free: 10.48 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.0005202/0.0005202, allocations: 24 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 57.53 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2102/0.3165, allocations: 42.61 MB / 476.6 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.3332, allocations: 9.594 MB / 486.2 MB, free: 24.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0071/0.3403, allocations: 202.3 kB / 486.4 MB, free: 24.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006623/0.347, allocations: 2.187 MB / 488.6 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01821/0.3652, allocations: 6.61 MB / 495.2 MB, free: 21.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.3683, allocations: 0.7777 MB / 495.9 MB, free: 20.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04135/0.4096, allocations: 35.12 MB / 0.5186 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00536/0.4151, allocations: 4.264 MB / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.4171, allocations: 1.448 MB / 0.5242 GB, free: 68 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003184/0.4203, allocations: 2.415 MB / 0.5265 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005374/0.4209, allocations: 176 kB / 0.5267 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.4228, allocations: 1.081 MB / 0.5278 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.4247, allocations: 1.952 MB / 0.5297 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.4258, allocations: 0.8894 MB / 0.5305 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005778/0.4316, allocations: 6.028 MB / 0.5364 GB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4316, allocations: 0 / 0.5364 GB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.4316, allocations: 0 / 0.5364 GB, free: 3.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.4318, allocations: 3.938 kB / 0.5364 GB, free: 3.484 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.01033/0.4421, allocations: 4.656 MB / 0.541 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4422, allocations: 8.031 kB / 0.541 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009884/0.4521, allocations: 2.529 MB / 0.5435 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.459, allocations: 3.405 MB / 0.5468 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.4592, allocations: 238.1 kB / 0.547 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007711/0.46, allocations: 343.6 kB / 0.5473 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.4774, allocations: 10.88 MB / 0.558 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.4776, allocations: 55.44 kB / 0.558 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004832/0.4781, allocations: 163.9 kB / 0.5582 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/0.481, allocations: 1.994 MB / 0.5601 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.4995, allocations: 9.428 MB / 0.5693 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05059/0.5502, allocations: 41.23 MB / 0.6096 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.5604, allocations: 4.271 MB / 0.6138 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/0.5634, allocations: 1.908 MB / 0.6156 GB, free: 136 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.5744, allocations: 7.63 MB / 0.6231 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.5745, allocations: 51.5 kB / 0.6231 GB, free: 8.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 6.181e-06/0.5745, allocations: 0 / 0.6231 GB, free: 8.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.3622/0.9367, allocations: 41.45 MB / 0.6636 GB, free: 142.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.9368, allocations: 207.7 kB / 0.6638 GB, free: 142.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007257/0.9441, allocations: 4.317 MB / 0.668 GB, free: 140.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008073/0.945, allocations: 57.42 kB / 0.6681 GB, free: 140.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002076/0.947, allocations: 3.167 MB / 0.6712 GB, free: 138 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/0.9485, allocations: 0.888 MB / 0.672 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/0.9489, allocations: 126.1 kB / 0.6722 GB, free: 137.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003324/0.9493, allocations: 0.5828 MB / 0.6727 GB, free: 136.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005095/0.9544, allocations: 3.603 MB / 0.6762 GB, free: 135.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00784/0.9623, allocations: 7.274 MB / 0.6833 GB, free: 128.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006252/0.9685, allocations: 4.962 MB / 0.6882 GB, free: 125.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.9687, allocations: 36.16 kB / 0.6882 GB, free: 125.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03328/1.002, allocations: 16.17 MB / 0.704 GB, free: 113.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.002, allocations: 56 kB / 0.7041 GB, free: 113.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/1.002, allocations: 130.5 kB / 0.7042 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01942/1.022, allocations: 6.276 MB / 0.7103 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005156/1.027, allocations: 1.493 MB / 0.7118 GB, free: 105.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/1.056, allocations: 26.14 MB / 0.7373 GB, free: 79.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/1.062, allocations: 415.3 kB / 0.7377 GB, free: 78.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.064, allocations: 384.7 kB / 0.7381 GB, free: 78.43 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004587/1.068, allocations: 2.23 MB / 0.7402 GB, free: 76.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.069, allocations: 398.9 kB / 0.7406 GB, free: 75.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02364/1.093, allocations: 11.29 MB / 0.7517 GB, free: 64.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/1.093, allocations: 28 kB / 0.7517 GB, free: 64.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/1.093, allocations: 8 kB / 0.7517 GB, free: 64.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.122e-05/1.093, allocations: 19.95 kB / 0.7517 GB, free: 64.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03784/1.131, allocations: 20.76 MB / 0.772 GB, free: 43.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/1.131, allocations: 4 kB / 0.772 GB, free: 43.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.133, allocations: 396 kB / 0.7724 GB, free: 42.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/1.15, allocations: 5.339 MB / 0.7776 GB, free: 37.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004549/1.15, allocations: 39.98 kB / 0.7776 GB, free: 37.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/1.172, allocations: 21.23 MB / 0.7983 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.172, allocations: 7.938 kB / 0.7984 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2328/1.405, allocations: 14.59 MB / 0.8126 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/1.408, allocations: 0.9879 MB / 0.8136 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009387/1.409, allocations: 42.09 kB / 0.8136 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.412, allocations: 187.1 kB / 0.8138 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/1.412, allocations: 153.2 kB / 0.8139 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/1.412, allocations: 66.7 kB / 0.814 GB, free: 130.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004382/1.417, allocations: 2.702 MB / 0.8166 GB, free: 130.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.417, allocations: 0 / 0.8166 GB, free: 130.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006063/1.423, allocations: 1.37 MB / 0.818 GB, free: 130.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005272/1.423, allocations: 178.3 kB / 0.8181 GB, free: 130.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01047/1.434, allocations: 8.282 MB / 0.8262 GB, free: 128.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.434, allocations: 0 / 0.8262 GB, free: 128.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/1.438, allocations: 3.206 MB / 0.8294 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.442, allocations: 499.9 kB / 0.8298 GB, free: 127.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/1.46, allocations: 13.63 MB / 0.8432 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.464, allocations: 3.516 MB / 0.8466 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004958/1.469, allocations: 1.96 MB / 0.8485 GB, free: 119 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.47, allocations: 275.9 kB / 0.8488 GB, free: 119 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/1.47, allocations: 2.078 kB / 0.8488 GB, free: 119 MB / 494.1 MB Notification: Performance of Templates: time 0.08883/1.559, allocations: 65.09 MB / 0.9123 GB, free: 76.73 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: