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.001026/0.001026, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001419/0.001419, allocations: 168.7 kB / 15.95 MB, free: 204 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.682/1.682, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4594/0.4594, allocations: 40.01 MB / 310.4 MB, free: 9.996 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.0006471/0.0006472, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1689, allocations: 57.95 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.345/0.5139, allocations: 42.62 MB / 479.4 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02797/0.5419, allocations: 9.596 MB / 489 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01322/0.5552, allocations: 200.5 kB / 489.2 MB, free: 21.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.5656, allocations: 2.175 MB / 491.4 MB, free: 21.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02318/0.5889, allocations: 6.622 MB / 498 MB, free: 18.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004538/0.5934, allocations: 0.7791 MB / 498.8 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.05302/0.6465, allocations: 35.11 MB / 0.5214 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007174/0.6537, allocations: 4.27 MB / 0.5256 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.6574, allocations: 1.448 MB / 0.527 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004306/0.6617, allocations: 2.415 MB / 0.5293 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007776/0.6625, allocations: 180 kB / 0.5295 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.665, allocations: 1.077 MB / 0.5305 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.6674, allocations: 1.952 MB / 0.5325 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.6687, allocations: 0.8856 MB / 0.5333 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007529/0.6763, allocations: 6.025 MB / 0.5392 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.6763, allocations: 0 / 0.5392 GB, free: 15.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.6763, allocations: 0 / 0.5392 GB, free: 15.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002517/0.6766, allocations: 3.938 kB / 0.5392 GB, free: 15.18 MB / 414.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.01212/0.6887, allocations: 4.669 MB / 0.5438 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6888, allocations: 8.031 kB / 0.5438 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.6995, allocations: 2.525 MB / 0.5462 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009001/0.7086, allocations: 3.409 MB / 0.5496 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.7089, allocations: 242.1 kB / 0.5498 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.71, allocations: 331.7 kB / 0.5501 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/0.7322, allocations: 10.88 MB / 0.5607 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002563/0.7325, allocations: 55.52 kB / 0.5608 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004744/0.733, allocations: 155.8 kB / 0.5609 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003076/0.7361, allocations: 1.998 MB / 0.5629 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/0.7579, allocations: 9.428 MB / 0.5721 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06135/0.8193, allocations: 41.23 MB / 0.6124 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.8309, allocations: 4.271 MB / 0.6165 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/0.8342, allocations: 1.914 MB / 0.6184 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/0.8476, allocations: 7.626 MB / 0.6258 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.8477, allocations: 59.5 kB / 0.6259 GB, free: 3.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 5.941e-06/0.8477, allocations: 0 / 0.6259 GB, free: 3.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.4485/1.296, allocations: 41.44 MB / 0.6664 GB, free: 140.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.296, allocations: 206.5 kB / 0.6666 GB, free: 139.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007988/1.304, allocations: 4.313 MB / 0.6708 GB, free: 138 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001103/1.306, allocations: 62.02 kB / 0.6708 GB, free: 137.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002672/1.308, allocations: 3.166 MB / 0.6739 GB, free: 135.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.31, allocations: 0.8864 MB / 0.6748 GB, free: 134.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/1.31, allocations: 130.3 kB / 0.6749 GB, free: 134.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003166/1.311, allocations: 0.5789 MB / 0.6755 GB, free: 133.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005943/1.317, allocations: 3.608 MB / 0.679 GB, free: 131.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009106/1.326, allocations: 7.272 MB / 0.6861 GB, free: 125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/1.333, allocations: 4.963 MB / 0.691 GB, free: 122.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.241e-05/1.334, allocations: 34.38 kB / 0.691 GB, free: 122.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03705/1.371, allocations: 16.18 MB / 0.7068 GB, free: 106.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/1.371, allocations: 63.28 kB / 0.7069 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/1.371, allocations: 126.1 kB / 0.707 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02044/1.391, allocations: 6.28 MB / 0.7131 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005734/1.397, allocations: 1.489 MB / 0.7146 GB, free: 98.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03276/1.43, allocations: 26.14 MB / 0.7401 GB, free: 72.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008154/1.438, allocations: 421 kB / 0.7405 GB, free: 72.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002182/1.44, allocations: 384 kB / 0.7409 GB, free: 71.67 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.008097/1.449, allocations: 2.221 MB / 0.743 GB, free: 69.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002003/1.451, allocations: 394.9 kB / 0.7434 GB, free: 69.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02758/1.478, allocations: 11.3 MB / 0.7544 GB, free: 57.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.464e-05/1.478, allocations: 31.94 kB / 0.7545 GB, free: 57.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.068e-05/1.478, allocations: 12 kB / 0.7545 GB, free: 57.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.709e-05/1.479, allocations: 11.97 kB / 0.7545 GB, free: 57.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04659/1.525, allocations: 20.77 MB / 0.7748 GB, free: 36.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.977e-05/1.525, allocations: 4.594 kB / 0.7748 GB, free: 36.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.528, allocations: 390.7 kB / 0.7751 GB, free: 36.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01794/1.545, allocations: 5.346 MB / 0.7804 GB, free: 30.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008397/1.546, allocations: 44 kB / 0.7804 GB, free: 30.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02658/1.573, allocations: 21.21 MB / 0.8011 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/1.573, allocations: 4 kB / 0.8011 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.369/1.942, allocations: 14.59 MB / 0.8154 GB, free: 144.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003103/1.945, allocations: 0.9783 MB / 0.8163 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005804/1.946, allocations: 50.44 kB / 0.8164 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.948, allocations: 178.6 kB / 0.8165 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007621/1.949, allocations: 162.4 kB / 0.8167 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.949, allocations: 63.48 kB / 0.8168 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004143/1.953, allocations: 2.7 MB / 0.8194 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.953, allocations: 0 / 0.8194 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00723/1.96, allocations: 1.38 MB / 0.8207 GB, free: 144.4 MB / 0.4981 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 (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.000582/1.961, allocations: 174.5 kB / 0.8209 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.973, allocations: 8.289 MB / 0.829 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.973, allocations: 3.062 kB / 0.829 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/1.978, allocations: 3.2 MB / 0.8321 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.982, allocations: 493.8 kB / 0.8326 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02993/2.012, allocations: 13.64 MB / 0.8459 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006607/2.018, allocations: 3.519 MB / 0.8494 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006923/2.025, allocations: 1.961 MB / 0.8513 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/2.027, allocations: 263.6 kB / 0.8515 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/2.027, allocations: 2.031 kB / 0.8515 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.1139/2.141, allocations: 65.09 MB / 0.9151 GB, free: 88.57 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: