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.0008943/0.0008942, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008986/0.008986, allocations: 171.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.4089/0.4089, allocations: 40 MB / 310.7 MB, free: 9.863 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.0006764/0.0006768, allocations: 16.38 kB / 379.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1611, allocations: 57.95 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3302/0.4913, allocations: 60.88 MB / 498.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03241/0.5238, allocations: 12.87 MB / 0.4992 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01702/0.5409, allocations: 276.5 kB / 0.4994 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.5436, allocations: 0.4983 MB / 0.4999 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.5508, allocations: 2.074 MB / 0.5019 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.5536, allocations: 0.9972 MB / 0.5029 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.568, allocations: 8.648 MB / 0.5114 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/0.5808, allocations: 6.315 MB / 0.5175 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005934/0.5868, allocations: 1.534 MB / 0.519 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007777/0.5946, allocations: 2.586 MB / 0.5216 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001983/0.5966, allocations: 177.1 kB / 0.5217 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005857/0.6025, allocations: 1.277 MB / 0.523 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.6078, allocations: 2.192 MB / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007796/0.6156, allocations: 2.474 MB / 0.5275 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.631, allocations: 8.229 MB / 0.5356 GB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6311, allocations: 0 / 0.5356 GB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6311, allocations: 0 / 0.5356 GB, free: 3.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004455/0.6316, allocations: 0 / 0.5356 GB, free: 3.254 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01837/0.6499, allocations: 5.176 MB / 0.5406 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/0.6501, allocations: 12.03 kB / 0.5406 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.6634, allocations: 2.579 MB / 0.5432 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.6753, allocations: 4.039 MB / 0.5471 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/0.6759, allocations: 283.8 kB / 0.5474 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.6785, allocations: 391.6 kB / 0.5477 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/0.7111, allocations: 12.02 MB / 0.5595 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000398/0.7115, allocations: 59.48 kB / 0.5595 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/0.7135, allocations: 183.8 kB / 0.5597 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004017/0.7176, allocations: 2.14 MB / 0.5618 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.744, allocations: 10.4 MB / 0.572 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07627/0.8203, allocations: 47.54 MB / 0.6184 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/0.8365, allocations: 5.822 MB / 0.6241 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004451/0.841, allocations: 2.963 MB / 0.627 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3286/1.17, allocations: 8.87 MB / 0.6356 GB, free: 142.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/1.17, allocations: 58.78 kB / 0.6357 GB, free: 142.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.759e-06/1.17, allocations: 3.375 kB / 0.6357 GB, free: 142.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1227/1.293, allocations: 35.04 MB / 0.6699 GB, free: 134.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.293, allocations: 205.9 kB / 0.6701 GB, free: 134 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.304, allocations: 4.801 MB / 0.6748 GB, free: 132.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.305, allocations: 69.09 kB / 0.6749 GB, free: 132.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0028/1.308, allocations: 3.548 MB / 0.6783 GB, free: 129.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.309, allocations: 0.9719 MB / 0.6793 GB, free: 128.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008983/1.31, allocations: 0.5998 MB / 0.6799 GB, free: 128.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/1.31, allocations: 306.3 kB / 0.6801 GB, free: 128.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/1.315, allocations: 3.175 MB / 0.6832 GB, free: 127.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005871/1.32, allocations: 7.039 MB / 0.6901 GB, free: 120.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.331, allocations: 10.95 MB / 0.7008 GB, free: 109.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.745e-05/1.331, allocations: 36 kB / 0.7008 GB, free: 109.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02759/1.359, allocations: 13.75 MB / 0.7143 GB, free: 96.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004531/1.36, allocations: 64 kB / 0.7143 GB, free: 95.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005891/1.36, allocations: 132 kB / 0.7145 GB, free: 95.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/1.373, allocations: 4.411 MB / 0.7188 GB, free: 91.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/1.379, allocations: 1.482 MB / 0.7202 GB, free: 89.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03573/1.414, allocations: 26.85 MB / 0.7464 GB, free: 62.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00803/1.422, allocations: 410.6 kB / 0.7468 GB, free: 62.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/1.424, allocations: 411.9 kB / 0.7472 GB, free: 61.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.007633/1.432, allocations: 2.48 MB / 0.7496 GB, free: 59.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00245/1.434, allocations: 434.4 kB / 0.7501 GB, free: 59.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/1.454, allocations: 8.49 MB / 0.7583 GB, free: 50.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.353e-05/1.454, allocations: 28 kB / 0.7584 GB, free: 50.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.746e-05/1.454, allocations: 13.08 kB / 0.7584 GB, free: 50.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-05/1.454, allocations: 19.95 kB / 0.7584 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03833/1.493, allocations: 17.08 MB / 0.7751 GB, free: 33.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/1.493, allocations: 8 kB / 0.7751 GB, free: 33.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.494, allocations: 303.5 kB / 0.7754 GB, free: 32.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01136/1.506, allocations: 4.116 MB / 0.7794 GB, free: 28.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007337/1.507, allocations: 44 kB / 0.7794 GB, free: 28.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03389/1.541, allocations: 25.63 MB / 0.8045 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/1.541, allocations: 12.05 kB / 0.8045 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3756/1.916, allocations: 12.44 MB / 0.8166 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003781/1.92, allocations: 0.9638 MB / 0.8176 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.921, allocations: 50.36 kB / 0.8176 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/1.924, allocations: 176 kB / 0.8178 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008217/1.925, allocations: 197.7 kB / 0.818 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.925, allocations: 64.53 kB / 0.818 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004848/1.93, allocations: 3.033 MB / 0.821 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.93, allocations: 3.344 kB / 0.821 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008414/1.938, allocations: 1.468 MB / 0.8224 GB, free: 140.9 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006402/1.939, allocations: 189.2 kB / 0.8226 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01444/1.953, allocations: 8.405 MB / 0.8308 GB, free: 139 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.156e-05/1.953, allocations: 3.281 kB / 0.8308 GB, free: 139 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/1.959, allocations: 3.563 MB / 0.8343 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007486/1.967, allocations: 0.5555 MB / 0.8348 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02819/1.995, allocations: 15.08 MB / 0.8496 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006255/2.001, allocations: 3.921 MB / 0.8534 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007284/2.009, allocations: 2.008 MB / 0.8554 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/2.01, allocations: 283 kB / 0.8556 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.555e-06/2.01, allocations: 0 / 0.8556 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1264/2.136, allocations: 68.4 MB / 0.9224 GB, free: 79.13 MB / 0.4981 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: