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.001065/0.001066, allocations: 100 kB / 15.05 MB, free: 1.105 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.001009/0.001009, allocations: 177.3 kB / 15.95 MB, free: 216 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.657/1.657, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4051/0.4051, allocations: 38.03 MB / 308.4 MB, free: 10.35 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.0005788/0.0005789, allocations: 12.22 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2843/0.414, allocations: 40.23 MB / 474.2 MB, free: 32.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02195/0.436, allocations: 9.996 MB / 484.2 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.4464, allocations: 205.7 kB / 484.4 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007465/0.4539, allocations: 1.969 MB / 486.3 MB, free: 25.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01958/0.4735, allocations: 5.844 MB / 492.2 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.4772, allocations: 0.7621 MB / 492.9 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0398/0.5171, allocations: 27.33 MB / 0.5081 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006902/0.524, allocations: 4.23 MB / 0.5122 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.5268, allocations: 1.183 MB / 0.5134 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.529, allocations: 1.745 MB / 0.5151 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004808/0.5295, allocations: 179.9 kB / 0.5152 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.5316, allocations: 1.053 MB / 0.5163 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.5337, allocations: 1.824 MB / 0.518 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.5351, allocations: 0.8894 MB / 0.5189 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007274/0.5424, allocations: 6.163 MB / 0.5249 GB, free: 14.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5425, allocations: 0 / 0.5249 GB, free: 14.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.5425, allocations: 0 / 0.5249 GB, free: 14.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002665/0.5428, allocations: 0 / 0.5249 GB, free: 14.87 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.01261/0.5554, allocations: 4.89 MB / 0.5297 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5555, allocations: 12.03 kB / 0.5297 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04109/0.5966, allocations: 7.889 MB / 0.5374 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.607, allocations: 3.859 MB / 0.5412 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.6073, allocations: 238.1 kB / 0.5414 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.6087, allocations: 331.8 kB / 0.5417 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02156/0.6303, allocations: 10.86 MB / 0.5523 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.6305, allocations: 55.42 kB / 0.5524 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004344/0.6309, allocations: 159.8 kB / 0.5525 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003095/0.634, allocations: 1.994 MB / 0.5545 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0193/0.6533, allocations: 9.346 MB / 0.5636 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05668/0.7101, allocations: 41.15 MB / 0.6038 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.7218, allocations: 4.248 MB / 0.608 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.7357, allocations: 7.594 MB / 0.6154 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.7358, allocations: 55.5 kB / 0.6154 GB, free: 15.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 6.602e-06/0.7358, allocations: 0 / 0.6154 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.4505/1.186, allocations: 41.54 MB / 0.656 GB, free: 141.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.186, allocations: 204.4 kB / 0.6562 GB, free: 141.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008358/1.195, allocations: 4.579 MB / 0.6607 GB, free: 139.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008543/1.196, allocations: 66.17 kB / 0.6607 GB, free: 139.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002607/1.198, allocations: 3.216 MB / 0.6639 GB, free: 137.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.2, allocations: 0.8716 MB / 0.6647 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/1.2, allocations: 124.8 kB / 0.6648 GB, free: 136.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005204/1.201, allocations: 0.5655 MB / 0.6654 GB, free: 136.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006274/1.207, allocations: 3.468 MB / 0.6688 GB, free: 134.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/1.214, allocations: 7.061 MB / 0.6757 GB, free: 128.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008105/1.223, allocations: 4.807 MB / 0.6804 GB, free: 126.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/1.223, allocations: 35.88 kB / 0.6804 GB, free: 126.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03848/1.261, allocations: 15.67 MB / 0.6957 GB, free: 119.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/1.261, allocations: 57.66 kB / 0.6957 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003544/1.262, allocations: 125.6 kB / 0.6959 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.285, allocations: 6.111 MB / 0.7018 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005489/1.29, allocations: 1.435 MB / 0.7032 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03172/1.322, allocations: 26.39 MB / 0.729 GB, free: 86.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006662/1.329, allocations: 407.1 kB / 0.7294 GB, free: 86.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.33, allocations: 376 kB / 0.7298 GB, free: 86.17 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 576 * 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 (741): * Single equations (assignments): 736 * 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.005288/1.335, allocations: 2.22 MB / 0.7319 GB, free: 83.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.337, allocations: 398.8 kB / 0.7323 GB, free: 83.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02804/1.365, allocations: 11.07 MB / 0.7431 GB, free: 72.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.698e-05/1.365, allocations: 24 kB / 0.7431 GB, free: 72.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-05/1.365, allocations: 8 kB / 0.7431 GB, free: 72.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.621e-05/1.365, allocations: 15.95 kB / 0.7432 GB, free: 72.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0466/1.412, allocations: 20.6 MB / 0.7633 GB, free: 51.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-05/1.412, allocations: 4.875 kB / 0.7633 GB, free: 51.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.414, allocations: 387.4 kB / 0.7637 GB, free: 50.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0194/1.433, allocations: 5.172 MB / 0.7687 GB, free: 45.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006343/1.434, allocations: 44 kB / 0.7687 GB, free: 45.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/1.459, allocations: 21.51 MB / 0.7898 GB, free: 24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.459, allocations: 8 kB / 0.7898 GB, free: 23.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02959/1.489, allocations: 14.9 MB / 0.8043 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/1.493, allocations: 0.9916 MB / 0.8053 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/1.494, allocations: 44.06 kB / 0.8053 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/1.497, allocations: 179.7 kB / 0.8055 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007735/1.498, allocations: 153 kB / 0.8056 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/1.498, allocations: 71.98 kB / 0.8057 GB, free: 7.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005054/1.504, allocations: 2.926 MB / 0.8086 GB, free: 4.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.504, allocations: 0 / 0.8086 GB, free: 4.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00805/1.512, allocations: 1.358 MB / 0.8099 GB, free: 3.047 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.2392/1.751, allocations: 193.2 kB / 0.8101 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01315/1.764, allocations: 8.059 MB / 0.818 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.764, allocations: 0 / 0.818 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004176/1.768, allocations: 3.164 MB / 0.821 GB, free: 135.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.771, allocations: 485.3 kB / 0.8215 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.792, allocations: 13.47 MB / 0.8347 GB, free: 128.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003404/1.795, allocations: 3.616 MB / 0.8382 GB, free: 127.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005297/1.8, allocations: 1.973 MB / 0.8401 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.801, allocations: 275.6 kB / 0.8404 GB, free: 127.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/1.801, allocations: 0 / 0.8404 GB, free: 127.4 MB / 494.1 MB Notification: Performance of Templates: time 0.09798/1.899, allocations: 65.54 MB / 0.9044 GB, free: 85.57 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: