Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 99.39 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.001465/0.001465, 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.495/1.495, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3563/0.3563, allocations: 40 MB / 310.4 MB, free: 9.652 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.0005883/0.0005884, allocations: 12 kB / 378.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1268, allocations: 57.95 MB / 436.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2819/0.4088, allocations: 45.77 MB / 482.5 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.025/0.4339, allocations: 11.08 MB / 493.6 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01159/0.4455, allocations: 230.4 kB / 493.8 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008274/0.4538, allocations: 2.278 MB / 496.1 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02192/0.4758, allocations: 6.691 MB / 0.491 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.4797, allocations: 0.8434 MB / 0.4918 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04358/0.5233, allocations: 28.08 MB / 0.5193 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007539/0.531, allocations: 5.088 MB / 0.5242 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.5345, allocations: 1.569 MB / 0.5258 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.5384, allocations: 2.278 MB / 0.528 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5397, allocations: 240 kB / 0.5282 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.5425, allocations: 1.088 MB / 0.5293 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.5454, allocations: 2.408 MB / 0.5316 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.5472, allocations: 1.201 MB / 0.5328 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.5577, allocations: 8.117 MB / 0.5407 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.5577, allocations: 4 kB / 0.5407 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5578, allocations: 0 / 0.5407 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003982/0.5582, allocations: 0 / 0.5407 GB, free: 13.05 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01724/0.5754, allocations: 6.49 MB / 0.5471 GB, free: 6.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5755, allocations: 12.03 kB / 0.5471 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04905/0.6245, allocations: 9.715 MB / 0.5566 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.6377, allocations: 4.688 MB / 0.5611 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.6381, allocations: 320 kB / 0.5615 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002318/0.6404, allocations: 431.6 kB / 0.5619 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/0.6706, allocations: 15.76 MB / 0.5773 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001904/0.6708, allocations: 63.36 kB / 0.5773 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008357/0.6716, allocations: 203.8 kB / 0.5775 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005293/0.677, allocations: 3.216 MB / 0.5807 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02979/0.7068, allocations: 14.08 MB / 0.5944 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3144/1.021, allocations: 57.56 MB / 0.6506 GB, free: 103.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/1.034, allocations: 6.601 MB / 0.6571 GB, free: 102.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02302/1.057, allocations: 14.56 MB / 0.6713 GB, free: 96.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/1.057, allocations: 58.19 kB / 0.6713 GB, free: 96.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=289): time 8.967e-06/1.057, allocations: 0 / 0.6713 GB, free: 96.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1541/1.211, allocations: 42.99 MB / 0.7133 GB, free: 82.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/1.212, allocations: 220.6 kB / 0.7135 GB, free: 82.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.222, allocations: 5.738 MB / 0.7191 GB, free: 78.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009755/1.223, allocations: 73.7 kB / 0.7192 GB, free: 78.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003618/1.227, allocations: 4.411 MB / 0.7235 GB, free: 74.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00257/1.23, allocations: 1.255 MB / 0.7247 GB, free: 73.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/1.231, allocations: 176 kB / 0.7249 GB, free: 72.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0008278/1.232, allocations: 0.6786 MB / 0.7256 GB, free: 72.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006775/1.239, allocations: 4.612 MB / 0.7301 GB, free: 67.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009262/1.248, allocations: 9.547 MB / 0.7394 GB, free: 55.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/1.257, allocations: 6.482 MB / 0.7457 GB, free: 49.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002002/1.257, allocations: 48 kB / 0.7458 GB, free: 49.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04336/1.3, allocations: 18.96 MB / 0.7643 GB, free: 30.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000229/1.301, allocations: 86.56 kB / 0.7644 GB, free: 30.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002772/1.301, allocations: 172 kB / 0.7645 GB, free: 30 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02139/1.322, allocations: 5.831 MB / 0.7702 GB, free: 24.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008178/1.331, allocations: 2.064 MB / 0.7722 GB, free: 22.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03144/1.362, allocations: 24.94 MB / 0.7966 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009748/1.372, allocations: 0.5468 MB / 0.7971 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00228/1.374, allocations: 0.5039 MB / 0.7976 GB, free: 11.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008601/1.383, allocations: 3.102 MB / 0.8006 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/1.385, allocations: 0.4974 MB / 0.8011 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03326/1.418, allocations: 12.68 MB / 0.8135 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/1.418, allocations: 63.89 kB / 0.8136 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-05/1.418, allocations: 12 kB / 0.8136 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.983e-05/1.418, allocations: 14.86 kB / 0.8136 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2983/1.717, allocations: 24.45 MB / 0.8375 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/1.717, allocations: 6.156 kB / 0.8375 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/1.72, allocations: 0.5775 MB / 0.838 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01799/1.738, allocations: 4.84 MB / 0.8428 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008281/1.739, allocations: 56.88 kB / 0.8428 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02621/1.765, allocations: 20.18 MB / 0.8625 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.765, allocations: 12.52 kB / 0.8625 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03507/1.8, allocations: 17.83 MB / 0.88 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003733/1.804, allocations: 1.252 MB / 0.8812 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.805, allocations: 58.62 kB / 0.8812 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/1.808, allocations: 259.2 kB / 0.8815 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007803/1.809, allocations: 197.4 kB / 0.8817 GB, free: 135.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.81, allocations: 78.78 kB / 0.8818 GB, free: 135.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005269/1.815, allocations: 3.609 MB / 0.8853 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/1.815, allocations: 0 / 0.8853 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008004/1.823, allocations: 1.739 MB / 0.887 GB, free: 134 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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009478/1.824, allocations: 218.2 kB / 0.8872 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.838, allocations: 10.61 MB / 0.8975 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.838, allocations: 0 / 0.8975 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005487/1.844, allocations: 4.035 MB / 0.9015 GB, free: 126.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.847, allocations: 0.5936 MB / 0.9021 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/1.875, allocations: 18.42 MB / 0.9201 GB, free: 107.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006598/1.882, allocations: 4.755 MB / 0.9247 GB, free: 102.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007666/1.89, allocations: 3.003 MB / 0.9276 GB, free: 99.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.892, allocations: 355.4 kB / 0.928 GB, free: 99.39 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/1.892, allocations: 0 / 0.928 GB, free: 99.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.1071/1.999, allocations: 75.64 MB / 1.002 GB, free: 23.67 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) Environment - environmentSimulation: