Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 99 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.001612/0.001612, allocations: 177.3 kB / 15.94 MB, free: 228 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.457/1.457, 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.3202/0.3202, allocations: 40 MB / 310.4 MB, free: 9.945 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.0006351/0.0006352, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1282, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2876/0.4158, allocations: 53.4 MB / 490.2 MB, free: 20.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02889/0.4448, allocations: 12.85 MB / 0.4912 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01336/0.4582, allocations: 278.2 kB / 0.4915 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.4684, allocations: 2.676 MB / 0.4941 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03074/0.4992, allocations: 7.689 MB / 0.5016 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.505, allocations: 0.9081 MB / 0.5025 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04388/0.5489, allocations: 27.62 MB / 0.5295 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009982/0.5589, allocations: 5.533 MB / 0.5349 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.5623, allocations: 1.351 MB / 0.5362 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.5656, allocations: 1.799 MB / 0.5379 GB, free: 112 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.5668, allocations: 172 kB / 0.5381 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.5699, allocations: 1.057 MB / 0.5391 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.5727, allocations: 2.011 MB / 0.5411 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.5747, allocations: 1.034 MB / 0.5421 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00882/0.5835, allocations: 6.913 MB / 0.5489 GB, free: 4.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5836, allocations: 0 / 0.5489 GB, free: 4.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5836, allocations: 0 / 0.5489 GB, free: 4.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004489/0.584, allocations: 0 / 0.5489 GB, free: 4.895 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01547/0.5995, allocations: 5.574 MB / 0.5543 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5996, allocations: 12.03 kB / 0.5543 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04355/0.6431, allocations: 7.946 MB / 0.5621 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.6551, allocations: 4.502 MB / 0.5665 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.6555, allocations: 286 kB / 0.5667 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.6574, allocations: 387.7 kB / 0.5671 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02794/0.6853, allocations: 12.04 MB / 0.5789 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002951/0.6857, allocations: 59.48 kB / 0.5789 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/0.6874, allocations: 179.8 kB / 0.5791 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003949/0.6914, allocations: 2.143 MB / 0.5812 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.7162, allocations: 10.32 MB / 0.5913 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3295/1.046, allocations: 47.48 MB / 0.6376 GB, free: 114.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/1.06, allocations: 5.875 MB / 0.6434 GB, free: 113.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/1.074, allocations: 8.869 MB / 0.652 GB, free: 111.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.074, allocations: 57.22 kB / 0.6521 GB, free: 111.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.378e-06/1.074, allocations: 0 / 0.6521 GB, free: 111.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1243/1.198, allocations: 35.62 MB / 0.6869 GB, free: 103 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/1.198, allocations: 207.7 kB / 0.6871 GB, free: 102.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007603/1.206, allocations: 5.164 MB / 0.6921 GB, free: 100.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006519/1.207, allocations: 68.58 kB / 0.6922 GB, free: 100.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.209, allocations: 3.585 MB / 0.6957 GB, free: 97.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.21, allocations: 0.9684 MB / 0.6966 GB, free: 96.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/1.21, allocations: 136.8 kB / 0.6968 GB, free: 96.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002707/1.211, allocations: 0.5832 MB / 0.6973 GB, free: 95.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.214, allocations: 2.997 MB / 0.7002 GB, free: 94.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005424/1.22, allocations: 6.795 MB / 0.7069 GB, free: 86.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005884/1.226, allocations: 4.419 MB / 0.7112 GB, free: 82.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/1.226, allocations: 47.94 kB / 0.7112 GB, free: 82.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02477/1.251, allocations: 13.17 MB / 0.7241 GB, free: 69.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/1.251, allocations: 60 kB / 0.7242 GB, free: 69.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/1.251, allocations: 132 kB / 0.7243 GB, free: 69.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.262, allocations: 4.253 MB / 0.7284 GB, free: 64.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/1.267, allocations: 1.408 MB / 0.7298 GB, free: 63.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/1.298, allocations: 27.41 MB / 0.7566 GB, free: 35.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/1.305, allocations: 401.2 kB / 0.757 GB, free: 35.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.306, allocations: 400 kB / 0.7573 GB, free: 34.92 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.003996/1.31, allocations: 2.465 MB / 0.7598 GB, free: 32.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009515/1.311, allocations: 450.2 kB / 0.7602 GB, free: 32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.325, allocations: 8.226 MB / 0.7682 GB, free: 23.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/1.325, allocations: 35.94 kB / 0.7682 GB, free: 23.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.518e-05/1.325, allocations: 12 kB / 0.7683 GB, free: 23.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-05/1.325, allocations: 7.969 kB / 0.7683 GB, free: 23.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.355, allocations: 16.89 MB / 0.7848 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/1.355, allocations: 4.594 kB / 0.7848 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.356, allocations: 307.5 kB / 0.7851 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009861/1.366, allocations: 3.935 MB / 0.7889 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003654/1.367, allocations: 44 kB / 0.7889 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03506/1.402, allocations: 26.21 MB / 0.8145 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.402, allocations: 4 kB / 0.8145 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02187/1.424, allocations: 12.76 MB / 0.827 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004368/1.428, allocations: 0.9676 MB / 0.828 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.429, allocations: 55.94 kB / 0.828 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.432, allocations: 167.8 kB / 0.8282 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007795/1.433, allocations: 193.4 kB / 0.8283 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/1.433, allocations: 71.98 kB / 0.8284 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005296/1.438, allocations: 3.325 MB / 0.8317 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/1.438, allocations: 4 kB / 0.8317 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007052/1.445, allocations: 1.443 MB / 0.8331 GB, free: 4.512 MB / 0.5294 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00067/1.446, allocations: 211.4 kB / 0.8333 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2167/1.663, allocations: 8.11 MB / 0.8412 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.663, allocations: 3.094 kB / 0.8412 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005572/1.668, allocations: 3.508 MB / 0.8446 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/1.672, allocations: 0.5447 MB / 0.8452 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.694, allocations: 14.34 MB / 0.8592 GB, free: 173 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004803/1.699, allocations: 4.035 MB / 0.8631 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005411/1.704, allocations: 2.018 MB / 0.8651 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.705, allocations: 288.1 kB / 0.8653 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.743e-06/1.705, allocations: 0 / 0.8653 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1065/1.812, allocations: 67.57 MB / 0.9313 GB, free: 130.6 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) Environment - environmentSimulation: