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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009821/0.0009822, allocations: 183 kB / 7.654 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.486/1.486, allocations: 194.4 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 116.3 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2116/0.2116, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.612e-05, allocations: 0 / 393.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 54.88 MB / 448.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.7011, allocations: 102.2 MB / 0.5375 GB, free: 88.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.7014, allocations: 69.47 kB / 0.5376 GB, free: 88.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2947/0.9961, allocations: 124 MB / 0.6587 GB, free: 12.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.9962, allocations: 0 / 0.6587 GB, free: 12.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004132/0.9966, allocations: 119.9 kB / 0.6588 GB, free: 12.53 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02188/1.018, allocations: 6.314 MB / 0.665 GB, free: 6.141 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.019, allocations: 8.031 kB / 0.665 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03435/1.053, allocations: 8.322 MB / 0.6731 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/1.074, allocations: 7.357 MB / 0.6803 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/1.074, allocations: 195.9 kB / 0.6805 GB, free: 6.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003384/1.078, allocations: 355.8 kB / 0.6808 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02845/1.106, allocations: 10.17 MB / 0.6907 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3257/1.432, allocations: 14.06 MB / 0.7045 GB, free: 75.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/1.432, allocations: 72.62 kB / 0.7045 GB, free: 75.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/1.434, allocations: 35.78 kB / 0.7046 GB, free: 75.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002229/1.436, allocations: 1.61 MB / 0.7062 GB, free: 75.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06488/1.501, allocations: 61.43 MB / 0.7661 GB, free: 42.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006124/1.507, allocations: 5.594 MB / 0.7716 GB, free: 41.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/1.51, allocations: 3.432 MB / 0.775 GB, free: 39.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01763/1.528, allocations: 14.13 MB / 0.7888 GB, free: 32.86 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/1.528, allocations: 69.08 kB / 0.7888 GB, free: 32.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 5.47e-06/1.528, allocations: 0 / 0.7888 GB, free: 32.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=339): time 0.06471/1.593, allocations: 30.94 MB / 0.819 GB, free: 22.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/1.593, allocations: 211.7 kB / 0.8192 GB, free: 22.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006394/1.599, allocations: 4.279 MB / 0.8234 GB, free: 20.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007801/1.6, allocations: 25.7 kB / 0.8234 GB, free: 20.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002219/1.602, allocations: 4.518 MB / 0.8279 GB, free: 16.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.604, allocations: 1.221 MB / 0.8291 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/1.604, allocations: 0 / 0.8291 GB, free: 15.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003579/1.604, allocations: 0.6934 MB / 0.8297 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/1.609, allocations: 4.395 MB / 0.834 GB, free: 11.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006481/1.615, allocations: 9.569 MB / 0.8434 GB, free: 15.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008294/1.624, allocations: 6.39 MB / 0.8496 GB, free: 10.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-05/1.624, allocations: 52 kB / 0.8497 GB, free: 10.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04183/1.666, allocations: 17.86 MB / 0.8671 GB, free: 12.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.666, allocations: 80 kB / 0.8672 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/1.666, allocations: 188 kB / 0.8674 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02147/1.687, allocations: 5.634 MB / 0.8729 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009915/1.697, allocations: 2.144 MB / 0.8749 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3493/2.047, allocations: 21.6 MB / 0.896 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008502/2.055, allocations: 395.2 kB / 0.8964 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/2.057, allocations: 0.5283 MB / 0.8969 GB, free: 99.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1098 * 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.001486/2.059, allocations: 0.5591 MB / 0.8975 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009162/2.06, allocations: 479 kB / 0.8979 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02764/2.087, allocations: 12.09 MB / 0.9098 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.601e-05/2.087, allocations: 61.8 kB / 0.9098 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/2.087, allocations: 14.47 kB / 0.9098 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-05/2.087, allocations: 14.2 kB / 0.9098 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0437/2.131, allocations: 22.59 MB / 0.9319 GB, free: 92.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/2.131, allocations: 7.219 kB / 0.9319 GB, free: 92.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/2.134, allocations: 0.5714 MB / 0.9325 GB, free: 92.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01763/2.152, allocations: 4.631 MB / 0.937 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007723/2.153, allocations: 14.08 kB / 0.937 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/2.172, allocations: 17.33 MB / 0.9539 GB, free: 83.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/2.172, allocations: 6.938 kB / 0.9539 GB, free: 83.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/2.206, allocations: 17.09 MB / 0.9706 GB, free: 77.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/2.209, allocations: 1.185 MB / 0.9718 GB, free: 76.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00169/2.211, allocations: 11 kB / 0.9718 GB, free: 76.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/2.214, allocations: 204.8 kB / 0.972 GB, free: 76.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006375/2.215, allocations: 194.8 kB / 0.9722 GB, free: 76.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/2.215, allocations: 80.81 kB / 0.9722 GB, free: 76.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004382/2.219, allocations: 2.844 MB / 0.975 GB, free: 74.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.219, allocations: 0 / 0.975 GB, free: 74.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007371/2.227, allocations: 1.497 MB / 0.9765 GB, free: 72.72 MB / 490.7 MB 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 () * 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.0006087/2.227, allocations: 165.2 kB / 0.9766 GB, free: 72.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01261/2.24, allocations: 10.07 MB / 0.9865 GB, free: 63.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.24, allocations: 4 kB / 0.9865 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004351/2.244, allocations: 3.846 MB / 0.9902 GB, free: 60.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/2.247, allocations: 471.8 kB / 0.9907 GB, free: 59.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/2.267, allocations: 13.37 MB / 1.004 GB, free: 48.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004695/2.272, allocations: 4.74 MB / 1.008 GB, free: 44.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007353/2.279, allocations: 3.11 MB / 1.011 GB, free: 41.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/2.281, allocations: 339 kB / 1.012 GB, free: 41.36 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/2.281, allocations: 0 / 1.012 GB, free: 41.36 MB / 490.7 MB Notification: Performance of Templates: time 0.3927/2.674, allocations: 67.83 MB / 1.078 GB, free: 101.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (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)