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.0009809/0.0009809, allocations: 86.25 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.0008832/0.0008832, 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.706/1.706, 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.4825/0.4825, allocations: 40 MB / 310.4 MB, free: 9.93 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.0006273/0.0006274, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 57.96 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3599/0.5097, allocations: 56.61 MB / 493.4 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03342/0.5432, allocations: 12.32 MB / 0.4939 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01695/0.5602, allocations: 272.6 kB / 0.4941 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.5728, allocations: 2.94 MB / 0.497 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03357/0.6064, allocations: 8.709 MB / 0.5055 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006037/0.6125, allocations: 0.9125 MB / 0.5064 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06032/0.6728, allocations: 36.1 MB / 0.5417 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009906/0.6828, allocations: 5.572 MB / 0.5471 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/0.6876, allocations: 1.67 MB / 0.5487 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005246/0.6929, allocations: 2.559 MB / 0.5512 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.694, allocations: 172 kB / 0.5514 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.6975, allocations: 1.081 MB / 0.5524 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.7003, allocations: 2.166 MB / 0.5546 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.7019, allocations: 1.018 MB / 0.5556 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009279/0.7112, allocations: 6.775 MB / 0.5622 GB, free: 7.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7112, allocations: 4 kB / 0.5622 GB, free: 7.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7112, allocations: 0 / 0.5622 GB, free: 7.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003553/0.7116, allocations: 0 / 0.5622 GB, free: 7.578 MB / 430.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.0154/0.727, allocations: 5.242 MB / 0.5673 GB, free: 2.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.7271, allocations: 8.031 kB / 0.5673 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.738, allocations: 2.579 MB / 0.5698 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.7493, allocations: 3.967 MB / 0.5737 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.7496, allocations: 283.2 kB / 0.574 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.7513, allocations: 387.6 kB / 0.5743 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02651/0.7779, allocations: 11.99 MB / 0.586 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002594/0.7782, allocations: 55.53 kB / 0.5861 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006098/0.7788, allocations: 175.9 kB / 0.5863 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003775/0.7826, allocations: 2.143 MB / 0.5884 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.8062, allocations: 10.34 MB / 0.5985 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3788/1.185, allocations: 47.51 MB / 0.6449 GB, free: 115.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/1.198, allocations: 5.821 MB / 0.6505 GB, free: 114.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/1.201, allocations: 2.961 MB / 0.6534 GB, free: 114.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/1.214, allocations: 8.876 MB / 0.6621 GB, free: 110.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/1.214, allocations: 56.52 kB / 0.6622 GB, free: 110.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.33e-06/1.214, allocations: 0 / 0.6622 GB, free: 110.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1122/1.326, allocations: 35.08 MB / 0.6964 GB, free: 101.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/1.327, allocations: 211.9 kB / 0.6966 GB, free: 100.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006361/1.333, allocations: 4.767 MB / 0.7013 GB, free: 98.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/1.333, allocations: 63.73 kB / 0.7013 GB, free: 98.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.335, allocations: 3.549 MB / 0.7048 GB, free: 95.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008992/1.336, allocations: 0.9783 MB / 0.7058 GB, free: 94.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/1.337, allocations: 139.2 kB / 0.7059 GB, free: 94.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003268/1.337, allocations: 0.6013 MB / 0.7065 GB, free: 93.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003917/1.341, allocations: 3.147 MB / 0.7095 GB, free: 91.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00557/1.347, allocations: 7.01 MB / 0.7164 GB, free: 82.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005725/1.352, allocations: 4.592 MB / 0.7209 GB, free: 78.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/1.352, allocations: 40 kB / 0.7209 GB, free: 78.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02431/1.377, allocations: 13.7 MB / 0.7343 GB, free: 64.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/1.377, allocations: 64 kB / 0.7344 GB, free: 64.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/1.377, allocations: 132 kB / 0.7345 GB, free: 64.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/1.388, allocations: 4.407 MB / 0.7388 GB, free: 59.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/1.394, allocations: 1.485 MB / 0.7402 GB, free: 58.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03275/1.426, allocations: 26.83 MB / 0.7664 GB, free: 31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007925/1.434, allocations: 415.8 kB / 0.7668 GB, free: 30.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.436, allocations: 415.7 kB / 0.7672 GB, free: 30.2 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 (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.005166/1.441, allocations: 2.478 MB / 0.7697 GB, free: 27.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.442, allocations: 434.4 kB / 0.7701 GB, free: 27.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.456, allocations: 8.471 MB / 0.7783 GB, free: 18.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-05/1.456, allocations: 28 kB / 0.7784 GB, free: 18.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.456, allocations: 12 kB / 0.7784 GB, free: 18.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.354e-05/1.457, allocations: 15.95 kB / 0.7784 GB, free: 18.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/1.486, allocations: 17.04 MB / 0.795 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-05/1.486, allocations: 10.02 kB / 0.795 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/1.487, allocations: 307.5 kB / 0.7953 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/1.498, allocations: 4.105 MB / 0.7993 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006284/1.499, allocations: 48 kB / 0.7994 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03589/1.535, allocations: 25.61 MB / 0.8244 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.535, allocations: 7.938 kB / 0.8244 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3619/1.896, allocations: 12.4 MB / 0.8365 GB, free: 158.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00292/1.899, allocations: 0.9638 MB / 0.8375 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/1.9, allocations: 45.19 kB / 0.8375 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.902, allocations: 174.8 kB / 0.8377 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008713/1.903, allocations: 198.3 kB / 0.8379 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.903, allocations: 76.44 kB / 0.8379 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00494/1.908, allocations: 3 MB / 0.8409 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/1.908, allocations: 3.344 kB / 0.8409 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009042/1.917, allocations: 1.462 MB / 0.8423 GB, free: 158.3 MB / 0.5137 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.0008186/1.918, allocations: 193.3 kB / 0.8425 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.932, allocations: 8.381 MB / 0.8507 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/1.932, allocations: 0 / 0.8507 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006613/1.939, allocations: 3.553 MB / 0.8541 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/1.944, allocations: 0.5564 MB / 0.8547 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/1.973, allocations: 14.48 MB / 0.8688 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007238/1.98, allocations: 3.934 MB / 0.8727 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007258/1.987, allocations: 1.999 MB / 0.8746 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.989, allocations: 284.2 kB / 0.8749 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.825e-06/1.989, allocations: 0 / 0.8749 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1213/2.11, allocations: 67.08 MB / 0.9404 GB, free: 93.06 MB / 0.5137 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: