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.0008806/0.0008806, allocations: 99.7 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.0008925/0.0008925, 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.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3592/0.3592, allocations: 40 MB / 310.4 MB, free: 9.949 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.0008162/0.0008165, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1396, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2649/0.4045, allocations: 40.24 MB / 477 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02328/0.4279, allocations: 9.993 MB / 487 MB, free: 23.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009691/0.4376, allocations: 200.9 kB / 487.2 MB, free: 23.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006727/0.4444, allocations: 1.972 MB / 489.2 MB, free: 22.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02325/0.4677, allocations: 5.844 MB / 495 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004413/0.4721, allocations: 0.7616 MB / 495.8 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04249/0.5146, allocations: 27.32 MB / 0.5108 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006104/0.5208, allocations: 4.252 MB / 0.515 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.5233, allocations: 1.184 MB / 0.5161 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.5254, allocations: 1.745 MB / 0.5178 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000494/0.5259, allocations: 176 kB / 0.518 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.5277, allocations: 1.053 MB / 0.519 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.529, allocations: 1.816 MB / 0.5208 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007213/0.5297, allocations: 0.8972 MB / 0.5217 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.5356, allocations: 6.157 MB / 0.5277 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5357, allocations: 4 kB / 0.5277 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5357, allocations: 0 / 0.5277 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.5359, allocations: 4 kB / 0.5277 GB, free: 10.61 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.0114/0.5473, allocations: 4.883 MB / 0.5325 GB, free: 5.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5473, allocations: 8.031 kB / 0.5325 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04065/0.588, allocations: 7.897 MB / 0.5402 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009579/0.5976, allocations: 3.839 MB / 0.5439 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.5979, allocations: 246.1 kB / 0.5442 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/0.5991, allocations: 339.6 kB / 0.5445 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.6197, allocations: 10.87 MB / 0.5551 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.6199, allocations: 47.59 kB / 0.5552 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000514/0.6205, allocations: 155.9 kB / 0.5553 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003124/0.6236, allocations: 1.998 MB / 0.5573 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.6425, allocations: 9.338 MB / 0.5664 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05319/0.6957, allocations: 41.16 MB / 0.6066 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.7062, allocations: 4.257 MB / 0.6107 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.7181, allocations: 7.587 MB / 0.6181 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.7181, allocations: 67.44 kB / 0.6182 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=180): time 5.59e-06/0.7182, allocations: 3.984 kB / 0.6182 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=236): time 0.3769/1.095, allocations: 41.52 MB / 0.6588 GB, free: 139.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/1.095, allocations: 205 kB / 0.659 GB, free: 139.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006403/1.102, allocations: 4.596 MB / 0.6634 GB, free: 137.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005445/1.102, allocations: 56.14 kB / 0.6635 GB, free: 137.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.104, allocations: 3.216 MB / 0.6666 GB, free: 135.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.105, allocations: 0.8766 MB / 0.6675 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.105, allocations: 125 kB / 0.6676 GB, free: 134.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002912/1.106, allocations: 0.5677 MB / 0.6682 GB, free: 133.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004537/1.11, allocations: 3.465 MB / 0.6716 GB, free: 132.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007942/1.118, allocations: 7.063 MB / 0.6785 GB, free: 126.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/1.125, allocations: 4.798 MB / 0.6831 GB, free: 124.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/1.126, allocations: 38.62 kB / 0.6832 GB, free: 124.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.03354/1.159, allocations: 15.66 MB / 0.6985 GB, free: 114.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.29e-05/1.159, allocations: 60 kB / 0.6985 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/1.159, allocations: 124.9 kB / 0.6986 GB, free: 114.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02159/1.181, allocations: 6.111 MB / 0.7046 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004889/1.186, allocations: 1.435 MB / 0.706 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/1.215, allocations: 26.4 MB / 0.7318 GB, free: 80.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00647/1.221, allocations: 399.4 kB / 0.7322 GB, free: 79.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.222, allocations: 376 kB / 0.7325 GB, free: 79.52 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.004485/1.227, allocations: 2.224 MB / 0.7347 GB, free: 77.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/1.228, allocations: 394.8 kB / 0.7351 GB, free: 76.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/1.253, allocations: 11.07 MB / 0.7459 GB, free: 65.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/1.254, allocations: 28 kB / 0.7459 GB, free: 65.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/1.254, allocations: 8 kB / 0.7459 GB, free: 65.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/1.254, allocations: 14.03 kB / 0.7459 GB, free: 65.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04053/1.294, allocations: 20.61 MB / 0.7661 GB, free: 44.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/1.294, allocations: 4 kB / 0.7661 GB, free: 44.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.296, allocations: 388.2 kB / 0.7664 GB, free: 44.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0188/1.315, allocations: 5.172 MB / 0.7715 GB, free: 39.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005297/1.316, allocations: 43.94 kB / 0.7715 GB, free: 39.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/1.339, allocations: 21.5 MB / 0.7925 GB, free: 17.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.339, allocations: 7.938 kB / 0.7925 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02898/1.368, allocations: 14.91 MB / 0.8071 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/1.371, allocations: 0.9878 MB / 0.8081 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007652/1.372, allocations: 47.2 kB / 0.8081 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/1.374, allocations: 179.7 kB / 0.8083 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/1.375, allocations: 157 kB / 0.8084 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.375, allocations: 63.98 kB / 0.8085 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003992/1.379, allocations: 2.924 MB / 0.8113 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.379, allocations: 0 / 0.8113 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.2285/1.608, allocations: 1.351 MB / 0.8127 GB, free: 146.3 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.00076/1.608, allocations: 204.8 kB / 0.8129 GB, free: 146.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.62, allocations: 8.054 MB / 0.8207 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.62, allocations: 0 / 0.8207 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00385/1.623, allocations: 3.167 MB / 0.8238 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.626, allocations: 488.8 kB / 0.8243 GB, free: 145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.645, allocations: 13.48 MB / 0.8374 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/1.649, allocations: 3.608 MB / 0.841 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005269/1.655, allocations: 1.979 MB / 0.8429 GB, free: 137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.656, allocations: 270.7 kB / 0.8432 GB, free: 137 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/1.656, allocations: 0 / 0.8432 GB, free: 137 MB / 0.4981 GB Notification: Performance of Templates: time 0.1006/1.756, allocations: 65.54 MB / 0.9072 GB, free: 96.3 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: