Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001092/0.001095, allocations: 99.86 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.001152/0.001152, 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.581/1.581, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.4287/0.4287, allocations: 38.03 MB / 308.4 MB, free: 10.52 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.0005572/0.0005575, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1462, allocations: 57.51 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3067/0.4529, allocations: 53.4 MB / 487.3 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.4862, allocations: 12.85 MB / 0.4884 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/0.5, allocations: 278.1 kB / 0.4887 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.5106, allocations: 2.67 MB / 0.4913 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02911/0.5397, allocations: 7.7 MB / 0.4988 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005/0.5448, allocations: 0.9 MB / 0.4997 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04366/0.5885, allocations: 27.82 MB / 0.5269 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009244/0.5978, allocations: 5.539 MB / 0.5323 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.6015, allocations: 1.351 MB / 0.5336 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.6049, allocations: 1.795 MB / 0.5354 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.606, allocations: 180 kB / 0.5355 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.6088, allocations: 1.046 MB / 0.5366 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002647/0.6115, allocations: 2.007 MB / 0.5385 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.6133, allocations: 1.038 MB / 0.5395 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009201/0.6225, allocations: 6.918 MB / 0.5463 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6226, allocations: 0 / 0.5463 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.6226, allocations: 0 / 0.5463 GB, free: 8.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003699/0.623, allocations: 0 / 0.5463 GB, free: 8.934 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.0161/0.6391, allocations: 5.568 MB / 0.5517 GB, free: 3.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.6392, allocations: 12.03 kB / 0.5517 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04346/0.6827, allocations: 7.95 MB / 0.5595 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.6938, allocations: 4.5 MB / 0.5639 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.6941, allocations: 287.3 kB / 0.5642 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.6957, allocations: 391.6 kB / 0.5645 GB, free: 6.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.7192, allocations: 12.04 MB / 0.5763 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001781/0.7194, allocations: 59.48 kB / 0.5764 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005365/0.72, allocations: 179.8 kB / 0.5765 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.7233, allocations: 2.151 MB / 0.5786 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.7446, allocations: 10.3 MB / 0.5887 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3481/1.093, allocations: 47.48 MB / 0.6351 GB, free: 116.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/1.107, allocations: 5.874 MB / 0.6408 GB, free: 115.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/1.122, allocations: 8.871 MB / 0.6495 GB, free: 114.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.747e-05/1.122, allocations: 56.59 kB / 0.6495 GB, free: 114.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 1.01e-05/1.122, allocations: 0.75 kB / 0.6495 GB, free: 114.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1379/1.26, allocations: 35.61 MB / 0.6843 GB, free: 105.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.261, allocations: 207.1 kB / 0.6845 GB, free: 105.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/1.272, allocations: 5.173 MB / 0.6895 GB, free: 103.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008868/1.273, allocations: 60.33 kB / 0.6896 GB, free: 103.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003265/1.277, allocations: 3.587 MB / 0.6931 GB, free: 100.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.278, allocations: 0.9664 MB / 0.694 GB, free: 99.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/1.28, allocations: 130.9 kB / 0.6942 GB, free: 99.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007299/1.28, allocations: 0.5863 MB / 0.6947 GB, free: 98.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/1.286, allocations: 3.001 MB / 0.6977 GB, free: 97.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007998/1.294, allocations: 6.787 MB / 0.7043 GB, free: 90.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008047/1.302, allocations: 4.441 MB / 0.7086 GB, free: 85.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003563/1.302, allocations: 36 kB / 0.7087 GB, free: 85.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.03174/1.334, allocations: 13.15 MB / 0.7215 GB, free: 72.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002598/1.334, allocations: 64 kB / 0.7216 GB, free: 72.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000316/1.335, allocations: 136.1 kB / 0.7217 GB, free: 72.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/1.347, allocations: 4.243 MB / 0.7258 GB, free: 68.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.352, allocations: 1.415 MB / 0.7272 GB, free: 66.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03555/1.388, allocations: 27.41 MB / 0.754 GB, free: 39.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007283/1.395, allocations: 402.8 kB / 0.7544 GB, free: 38.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.397, allocations: 400 kB / 0.7548 GB, free: 38.42 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.006665/1.403, allocations: 2.472 MB / 0.7572 GB, free: 35.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.405, allocations: 450.2 kB / 0.7576 GB, free: 35.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/1.422, allocations: 8.218 MB / 0.7656 GB, free: 27.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/1.422, allocations: 31.95 kB / 0.7657 GB, free: 27.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/1.422, allocations: 12 kB / 0.7657 GB, free: 27.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/1.422, allocations: 15.95 kB / 0.7657 GB, free: 27.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/1.452, allocations: 16.88 MB / 0.7822 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/1.452, allocations: 8.578 kB / 0.7822 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.453, allocations: 299.6 kB / 0.7825 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/1.463, allocations: 3.937 MB / 0.7863 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005521/1.464, allocations: 48 kB / 0.7864 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03521/1.499, allocations: 26.2 MB / 0.8119 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.499, allocations: 17.5 kB / 0.812 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02183/1.521, allocations: 12.75 MB / 0.8244 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/1.524, allocations: 0.9715 MB / 0.8254 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009687/1.525, allocations: 55.45 kB / 0.8254 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.528, allocations: 174.5 kB / 0.8256 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007312/1.528, allocations: 194.1 kB / 0.8258 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.529, allocations: 64 kB / 0.8258 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005548/1.534, allocations: 3.329 MB / 0.8291 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.534, allocations: 4 kB / 0.8291 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007326/1.541, allocations: 1.447 MB / 0.8305 GB, free: 7.996 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.0005949/1.542, allocations: 201.4 kB / 0.8307 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2283/1.77, allocations: 8.116 MB / 0.8386 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.771, allocations: 3.25 kB / 0.8386 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00615/1.777, allocations: 3.509 MB / 0.842 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/1.78, allocations: 0.5492 MB / 0.8426 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.801, allocations: 14.33 MB / 0.8566 GB, free: 175 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004133/1.805, allocations: 4.04 MB / 0.8605 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005017/1.81, allocations: 2.015 MB / 0.8625 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009024/1.811, allocations: 286 kB / 0.8628 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/1.811, allocations: 0 / 0.8628 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1239/1.935, allocations: 67.58 MB / 0.9288 GB, free: 135.8 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) Environment - environmentSimulation: